You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
202 B
Plaintext

shader_type spatial;
uniform sampler2D tex_main : source_color;
void fragment() {
vec4 col = texture(tex_main, UV);
ALBEDO = COLOR.rgb * col.r;
ALPHA = COLOR.a * col.r;
EMISSION = COLOR.rgb;
}