shader_type canvas_item; uniform float full = 1.0; void fragment(){ if (UV.y > 1.0 - full){ COLOR = vec4(1,1,0,1); }else{ COLOR = vec4(0.7,0.3,0,1); } }