Surface caching is a computer graphics technique pioneered by John Carmack, first used in the computer game Quake, to apply lightmaps to level geometry. Carmack's technique was to combine lighting information with surface textures in texture-space when primitives became visible (at the appropriate mipmap level), exploiting temporal coherence for those calculations. As hardware capable of blended multi-texture rendering (and later pixel shaders) became more commonplace, the technique became less common, being replaced with screenspace combination of lightmaps in rendering hardware.
Surface caching contributed greatly to the visual quality of Quake's software rasterized 3d engine on Pentium microprocessors, which lacked dedicated graphics instructions..
Surface caching could be considered a precursor to the more recent megatexture technique in which lighting and surface decals and other procedural texture effects are combined for rich visuals devoid of un-natural repeating artefacts.
Famous quotes containing the word surface:
“Nature centres into balls,
And her proud ephemerals,
Fast to surface and outside,
Scan the profile of the sphere;
Knew they what that signified,
A new genesis were here.”
—Ralph Waldo Emerson (18031882)