10 lines
135 B
GLSL
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);
|
||
|
}
|