Using individual cube map faces as textures

Started by
0 comments, last by MessageBox 20 years, 6 months ago
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
Advertisement
Duh!!! I got it: glTexCoord3f(s, t, r)

This topic is closed to new replies.

Advertisement