2025-02-07 12:52:15 +00:00
|
|
|
shader_type canvas_item;
|
|
|
|
|
|
|
|
uniform float grey_scale = .33;
|
2025-05-21 20:16:27 +00:00
|
|
|
uniform sampler2D sampler;
|
2025-02-07 12:52:15 +00:00
|
|
|
|
|
|
|
void fragment() {
|
2025-05-21 20:16:27 +00:00
|
|
|
//vec2 pos = VERTEX;
|
|
|
|
COLOR.a = step(COLOR.r, .0);
|
2025-05-21 11:03:44 +00:00
|
|
|
//COLOR.rgb = vec3(grey_scale - COLOR.r);
|
2025-02-07 12:52:15 +00:00
|
|
|
}
|