9 lines
172 B
Plaintext
9 lines
172 B
Plaintext
|
shader_type canvas_item;
|
||
|
|
||
|
render_mode blend_mix;
|
||
|
uniform vec4 modulate : hint_color;
|
||
|
|
||
|
void fragment() {
|
||
|
COLOR = vec4(modulate.rgb, texture(TEXTURE, UV).a * modulate.a);
|
||
|
}
|