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