8 lines
162 B
Text
8 lines
162 B
Text
shader_type canvas_item;
|
|
|
|
void fragment() {
|
|
vec3 new_color = texture(TEXTURE, SCREEN_UV, 0.0).rgb;
|
|
new_color = vec3(1.0) - new_color;
|
|
COLOR.rgb = new_color;
|
|
}
|