Zanir » Blog Archive » Program 12 – Cube mapping

Program 12 – Cube mapping

20.02.2004

012_Cube_MappingIt is environment mapping (mapping environment to mirrored surface), which uses cube map texture. Cube map contains 6 two-dimensional image, which represent environment. Demo uses vertex shader for generating texture coordinations. Cube mapping is better as sphere mapping.

source code and executable – 480kB

Leave a Reply