size of a texture ?????

Started by padam1989, October 09, 2009, 15:29:48

Previous topic - Next topic

padam1989

Hola Everyone.

I know that opengl renders the texture having pixel size power of 2. I want to know is there any way or trick to map the texture whose size is not power of 2 ???.

Gracias.

Rene

Non power of two textures are supported from GL version 2.0 on. On older versions it might be available as an extension:

GL_ARB_texture_non_power_of_two
When I am king, they shall not have bread and shelter only, but also teachings out of books, for a full belly is little worth where the mind is starved - Mark Twain

Evil-Devil

You should try to avoid using non power of two texture.