Using Cube Maps in OpenGL
Very easy to use NVIDIA extension
- New texture target: GL_TEXTURE_CUBE_MAP_NV
- Used for manipulating cube map as a whole
- Six cube map “face” targets
- Used for manipulating particular cube map faces
- GL_TEXTURE_CUBE_MAP_dir_axis _NV
- dir is { POSITIVE, NEGATIVE }
- axis is { X, Y, Z }
- Use 2D texture image API (glTexImage2D, etc)