Jump to content

Surface caching

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Brian Geppert (talk | contribs) at 01:57, 17 September 2012 (Linked "Quake" to Quake article, fixed apostrophe.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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. [citation needed].

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.