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