stk-code_catmod/data/shaders/flip.frag
2013-11-30 21:33:06 +00:00

10 lines
135 B
GLSL

uniform sampler2D tex;
void main()
{
vec2 texc = gl_TexCoord[0].xy;
texc.y = 1.0 - texc.y;
gl_FragColor = texture2D(tex, texc);
}