AltParty2024/assets/shaders/random-pool/invert.gdshader

8 lines
162 B
Text
Raw Normal View History

2024-10-08 20:55:57 +03:00
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;
}