Lightmap

From Valve Developer Community
Revision as of 13:55, 19 June 2006 by Angry Beaver (talk | contribs) (Removed redundancy)
Jump to navigation Jump to search

A lightmap is all the lighting data of each face. This light data is then applied additivley to each face to produce the final lit effect. Especially common in BSP based engines, its the method used for most lighting effects within the source engine.

Determined during the vrad compile proccess lightmaps are only applied to brush faces as models are lit differently. The lightmap's scale refers to the number of texture pixels per light pixel (luxel). Smaller values means more luxels, thus a better quality but larger BSP size and compile times. The lightmap resolution can be viewed within Hammer by altering the viewmode in the top right to lightmap. It can also be viewed and edited from the Face Edit Dialog.

Related ConCommands

Examples

A lightmap scale of 4
A lightmap scale of 16
A lightmap scale of 64