GL_TEXTURE_RECTANGLE_NV problems

After glEnable(GL_TEXTURE_RECTANGLE_NV) normal 2D textures aren’t working any more. why ?

Because it takes priority over 2d.

From lowest priority to highest priority: GL_TEXTURE_1D, GL_TEXTURE_2D,
GL_TEXTURE_RECTANGLE_NV, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_ARB.

Michail.

I think you can have only 1 texturing state enabled at one time, so you have to disable GL_TEXTURE_RECTANGLE_NV before you enable GL_TEXTURE_2D.

Chris

Oooops might have be wrong on that one, it actually should be possible to bind a 2d Texture. But you have to have GL_TEXTURE_2D enabled.

Chris

You can have >1 texturing state enabled. All but the highest-priority one are ignored.

  • Matt

thx for the help