1 2 3 4 5 6 7 8 9 10
// Cyrille Henry 2007 uniform sampler2D tex0; void main() { vec2 C = (gl_TextureMatrix[0] * gl_TexCoord[0]).st; gl_FragColor = texture2D(tex0, C ) ; }