8 lines
166 B
GLSL
8 lines
166 B
GLSL
shader_type canvas_item;
|
|
render_mode blend_mix;
|
|
|
|
uniform sampler2D mask;
|
|
|
|
void fragment() {
|
|
COLOR = texture(TEXTURE, UV) * vec4(vec3(1.0), texture(mask, UV).r);
|
|
} |