2013-11-30 16:33:06 -05:00
|
|
|
uniform sampler2D tex;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
vec2 texc = gl_TexCoord[0].xy;
|
|
|
|
texc.y = 1.0 - texc.y;
|
|
|
|
|
2013-12-01 17:48:12 -05:00
|
|
|
|
2013-12-04 09:24:02 -05:00
|
|
|
gl_FragColor = vec4(texture2D(tex, texc).rgb, 1.0);
|
2013-11-30 16:33:06 -05:00
|
|
|
}
|