8 lines
166 B
Plaintext
8 lines
166 B
Plaintext
|
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);
|
||
|
}
|