About 3D textures, no idea, help me! :p

How do I make a 3D texture? Im speaking from the Photoshop point of view, not from the OGL one. Where do I store the ‘height map’ ¿?