Cube mapping
From Wikipedia, the free encyclopedia
In computer graphics, cube mapping is a technique that takes a three dimensional texture coordinate and returns a texel from a given cube map (something similar to a skybox). The texture represents the appearance of six faces of a perfectly mirrored cube as seen from vantage points in each of the six cardinal directions. The texture coordinate is a vector that specifies which way to look from the center of the cube mapped cube to get the desired texel.