// uniform sampler2D MyTex; void main (void) { vec4 color = texture2D(MyTex, gl_TexCoord[0].st); gl_FragColor = color; }