Can OpenGL ES render textures of non base 2 dimensions?

Kleptine picture Kleptine · Sep 18, 2010 · Viewed 14k times · Source

This is just a quick question before I dive deeper into converting my current rendering system to openGL. I heard that textures needed to be in base 2 sizes in order to be stored for rendering. Is this true?

My application is very tight on memory, but most of the bitmaps are not powers of two. Does storing non-base 2 textures consume more memory?

Answer

Dr. Snoopy picture Dr. Snoopy · Sep 18, 2010

It's true depending on the OpenGL ES version, OpenGL ES 1.0/1.1 have the power of two restriction. OpenGL ES 2.0 doesn't have the limitation, but it restrict the wrap modes for non power of two textures.

Creating bigger textures to match POT dimensions does waste texture memory.