shader_type canvas_item; uniform float grey_scale = .33; void fragment() { COLOR.a = step(COLOR.r, .0); COLOR.rgb = vec3(grey_scale - COLOR.r); }