cube map is a
texture object that consists of six square 2D images. The images make up the sides of a
Cubemap textures are useful for
rendering skyboxes and performing environment mapping.
When loading a cubemap texture, one
loads the six images using glTexImage2D
, but instead changing the target from
to one of the following:
on your images, you may have to flip them: stackoverflow
is a CCubeMap class in the template code that handles this.