immersive-home/app/content/system/raycast/raycast.gdshader

14 lines
433 B
Plaintext
Raw Permalink Normal View History

2024-03-17 19:04:20 +02:00
// NOTE: Shader automatically converted from Godot Engine 4.2.stable's StandardMaterial3D.
shader_type spatial;
render_mode cull_back, unshaded;
uniform vec4 albedo : source_color;
uniform sampler2D texture_albedo : source_color,filter_linear_mipmap,repeat_enable;
void fragment() {
vec2 base_uv = UV;
vec4 albedo_tex = texture(texture_albedo,base_uv);
ALBEDO = albedo.rgb * albedo_tex.rgb;
ALPHA *= albedo.a * albedo_tex.a;
}