uniform sampler2DRect samplerA; void main() { vec4 pixel = texture2DRect(samplerA, vec2(gl_TexCoord[0])); gl_FragColor = pixel.aaaa * gl_Color; }