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