]> git.sesse.net Git - movit/blob - mirror_effect.frag
Move the GL_UNPACK_ALIGNMENT setting into the texture creation, so that clients won...
[movit] / mirror_effect.frag
1 // Mirrors the image horizontally.
2 vec4 FUNCNAME(vec2 tc)
3 {
4         tc.x = 1.0 - tc.x;
5         return INPUT(tc);
6 }