Archived

This topic is now archived and is closed to further replies.

MessageBox

Using individual cube map faces as textures

Recommended Posts

Can you use the individual faces of a cube map in opengl as a 2d texture..... Ie. 1.Create a cube map with the faces of a skybox as the cube''s faces. 2. Render an object with the cubemap as the texture 3. Then render the skybox using each individual face of the cube map as a seperate 2d texture. How would bind to an individual face of a cube map glEnable(GL_TEXTURE_2D); glBindTexture(?, cubeMapFace);???? Is this possible, it would certainly save a lot of memory

Share this post


Link to post
Share on other sites