samplerRECT & texRECT in GLSL ?
Yes. From the ARB_texture_rectangle specs:
Quote:
Additions to the OpenGL Shading Language specification
Add the following keywords:
samplerRect
samplerRectShadow
Add to section 8.7 "Texture Lookup Functions"
vec4 textureRect(samplerRect sampler, float coord)
vec4 textureRectProj(samplerRect sampler, float coord)
No "bias" parameter is allowed because mipmaps are not allowed for
texture rectangles.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement