Sphere mapping represents the sphere of incident illumination as though it were seen in the reflection of a reflective sphere through an orthographic camera. The texture image can be created by approximating this ideal setup, or using a fisheye lens or via prerendering a scene with a spherical mapping.
The spherical mapping suffers from limitations that detract from the realism of resulting renderings. Because spherical maps are stored as azimuthal projections of the environments they represent, an abrupt point of singularity (a "black hole" effect) is visible in the reflection on the object where texel colors at or near the edge of the map are distorted due to inadequate resolution to represent the points accurately. The spherical mapping also wastes pixels that are in the square but not in the sphere.
The artifacts of the spherical mapping are so severe that it is effective only for viewpoints near that of the virtual orthographic camera.
Cube mapping and other polyhedron mappings address the severe distortion of sphere maps. If cube maps are made and filtered correctly, they have no visible seams, and can be used independent of the viewpoint of the often-virtual camera acquiring the map. Cube and other polyhedron maps have since superseded sphere maps in most computer graphics applications, with the exception of acquiring image-based lighting. Image-based lighting can be done with parallax-corrected cube maps.4
Generally, cube mapping uses the same skybox that is used in outdoor renderings. Cube-mapped reflection is done by determining the vector that the object is being viewed at. This camera ray is reflected about the surface normal of where the camera vector intersects the object. This results in the reflected ray which is then passed to the cube map to get the texel which provides the radiance value used in the lighting calculation. This creates the effect that the object is reflective.
HEALPix environment mapping is similar to the other polyhedron mappings, but can be hierarchical, thus providing a unified framework for generating polyhedra that better approximate the sphere. This allows lower distortion at the cost of increased computation.5
In 1974, Edwin Catmull created an algorithm for "rendering images of bivariate surface patches"67 which worked directly with their mathematical definition. Further refinements were researched and documented by Bui-Tuong Phong in 1975, and later James Blinn and Martin Newell, who developed environment mapping in 1976; these developments which refined Catmull's original algorithms led them to conclude that "these generalizations result in improved techniques for generating patterns and texture".8910
Gene Miller experimented with spherical environment mapping in 1982 at MAGI.
Wolfgang Heidrich introduced Paraboloid Mapping in 1998.11
Emil Praun introduced Octahedron Mapping in 2003.12
Mauro Steigleder introduced Pyramid Mapping in 2005.13
Tien-Tsin Wong, et al. introduced the existing HEALPix mapping for rendering in 2006.14
"Higher Education | Pearson" (PDF). http://www.pearsonhighered.com/samplechapter/0321194969.pdf ↩
"Directory | Computer Science and Engineering" (PDF). web.cse.ohio-state.edu. Retrieved 2025-02-18. http://web.cse.ohio-state.edu/~whmin/courses/cse5542-2013-spring/17-env.pdf ↩
"Bump and Environment Mapping" (PDF). Archived from the original (PDF) on 2012-01-29. https://web.archive.org/web/20120129012326/http://www.ics.uci.edu/~majumder/VC/classes/BEmap.pdf ↩
"Image-based Lighting approaches and parallax-corrected cubemap". 29 September 2012. http://seblagarde.wordpress.com/2012/09/29/image-based-lighting-approaches-and-parallax-corrected-cubemap/ ↩
Tien-Tsin Wong, Liang Wan, Chi-Sing Leung, and Ping-Man Lam. Real-time Environment Mapping with Equal Solid-Angle Spherical Quad-Map Archived 2007-10-23 at the Wayback Machine, Shader X4: Lighting & Rendering, Charles River Media, 2006. http://appsrv.cse.cuhk.edu.hk/~lwan/paper/sphquadmap/sphquadmap.htm ↩
Blinn, James F.; Newell, Martin E. (October 1976). "Texture and reflection in computer generated images". Communications of the ACM. 19 (10): 542–547. doi:10.1145/360349.360353. ISSN 0001-0782. https://dl.acm.org/doi/10.1145/360349.360353 ↩
Catmull, E.A. Computer display of curved surfaces. Proc. Conf. on Comptr. Graphics, Pattern Recognition, and Data Structure, May 1975, pp. 11-17 (IEEE Cat. No. 75CH0981-1C). ↩
"Computer Graphics". Archived from the original on 2021-02-24. Retrieved 2007-01-09. https://web.archive.org/web/20210224203858/http://www.comphist.org/computing_history/new_page_6.htm ↩
"Reflection Mapping History". http://www.debevec.org/ReflectionMapping/ ↩
Heidrich, W., and H.-P. Seidel. "View-Independent Environment Maps". Eurographics Workshop on Graphics Hardware 1998, pp. 39–45. ↩
Emil Praun and Hugues Hoppe. "Spherical parametrization and remeshing". ACM Transactions on Graphics, 22(3):340–349, 2003. ↩
Mauro Steigleder. "Pencil Light Transport". A thesis presented to the University of Waterloo, 2005. ↩