]> git.sesse.net Git - movit/blob - invert_effect.frag
Split out some private utilities into effect_util.cpp, so we do not need to include...
[movit] / invert_effect.frag
1 // Used only during testing. Inverts its input.
2 vec4 FUNCNAME(vec2 tc)
3 {
4         vec4 rgba = INPUT(tc);
5         rgba.rgb = vec3(1.0) - rgba.rgb;
6         return rgba;
7 }