/************************************************************* GLSL Demo - 2D texturing fragment shader (c) 2005 Antoine Bouthors, EVASION *************************************************************/ uniform sampler2D Tex2D; void main() { vec4 color = texture2D( Tex2D, gl_TexCoord[0].xy ); gl_FragColor = color; }