View Full Version : 3d texture matching
12-16-2007, 04:58 AM
Hi! anyone knows how 3dtexture mapping is made from the data pointer? i mean, in 2d texture, matching from data to texels is made row-wise, but in 3d texture?
Just create n 2D textures and store them sequentially in memory. Then give the pointer to the first 2D slice to glTexImage3D.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.