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