mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 07:50:22 +01:00
9 lines
174 B
Plaintext
9 lines
174 B
Plaintext
shader_type canvas_item;
|
|
|
|
render_mode blend_mix;
|
|
uniform vec4 modulate : source_color;
|
|
|
|
void fragment() {
|
|
COLOR = vec4(modulate.rgb, texture(TEXTURE, UV).a * modulate.a);
|
|
}
|