1 #extension GL_ARB_texture_rectangle : enable 2 vec4 texture2DRect(sampler2DRect sampler, vec2 coord); 3 vec4 texture2DRectProj(sampler2DRect sampler, vec3 coord); 4 vec4 texture2DRectProj(sampler2DRect sampler, vec4 coord); 5 6 vec4 shadow2DRect(sampler2DRectShadow sampler, vec3 coord); 7 vec4 shadow2DRectProj(sampler2DRectShadow sampler, vec4 coord); 8