PDA

View Full Version : Using Texture2DArrays



HannesH
08-28-2010, 02:15 PM
I want a texture atlas and a 2D one won't work.

I have my game running fine with a 3D texture where the Z axis is the texture I want to access.

But I want mipmaps too, so I need to use Texture2DArray. The documentation is rather unclear and there are no tuts on the internet showing how to use them. From what I've heard, they are pretty much 3D textures.

Could someone point me in the right direction?

The main thing I want to know is how to create one (using glTexImage3D()?)

Ilian Dinev
08-28-2010, 03:39 PM
http://developer.download.nvidia.com/SDK/10.5/opengl/samples.html#simple_texture_array