7 lines
130 B
Text
7 lines
130 B
Text
shader_type canvas_item;
|
|
|
|
uniform sampler2D mask : filter_nearest;
|
|
|
|
void fragment() {
|
|
COLOR.a = texture(mask, UV).a * COLOR.a;
|
|
}
|