Files
escape/Objects/Splash.gdshader
T
2023-02-07 16:54:29 +01:00

9 lines
148 B
Plaintext

shader_type canvas_item;
uniform float opacity : hint_range(0,1);
void fragment() {
vec4 c = texture(TEXTURE, UV);
c.a *= opacity;
COLOR = c;
}