PDA

View Full Version : GL_TEXTURE_RECTANGLE_ARB and glTexGen()



PickleWorld
05-24-2005, 05:55 AM
Pretty simple question here I think...

When using GL_TEXTURE_RECTANGLE_ARB and glTexGen() do I need to compensate for GL_TEXTURE_RECTANGLE_ARB not using 0..1 coordinates by scaling the texture matrix or will glTexGen() handle it for me?

I checked the ARB_texture_rectangle extension but it did not mention glTexGen().

dorbie
05-24-2005, 05:41 PM
No, the whole point is 0-1 maps to the rectangle on each axis.