]> git.sesse.net Git - movit/blob - invert_effect.frag
Add a temporary variable to reduce the amount of tedious typing.
[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 }