OpenGL NPOT texture status today

I am currently writing a game that uses 2D OpenGL output under sdl and I am trying to load text using SDL_ttf. However, I have to fill the text with empty pixels, as it seems that a simple OpenGL does not support the weakness of the two textures. I heard that there is an OpenGL extension with a name GL_ARB_texture_non_power_of_twothat allows you to use the weakness of two textures. How many cards are incompatible with this extension today and how to download it?

+5
source share
2 answers

Any version of OpenGL version 2.0 or greater supports textures without the authority of two. This means that almost any card is made after 2005. This includes GeForce FX and 6xxx and higher. It also includes Radeon 9500 and higher (although prior to the Radeon HD series, Radeons do not allow NPOTs to have mipmaps).

By the way, I hope that you are not trying to put each character in a separate texture. Because it would be terrible in terms of performance. Place all the characters you want to use in the same texture and select the ones you need. You don't even need NPOT for this.

mrazza , POT, NPOT ( ). -, , , , ( ..), .

+10

, opengl.

, NPOT OpenGL , , . 3.0 spec, . L.3, NPOT ​​GL, GL 2.0. , , GL 2.0 ( 2004 ), .

, "" : . glTexImage.

+2

All Articles