Lightmap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (categorized)
Line 11: Line 11:


==Examples==
==Examples==
[[image:intlight_lmap4.jpg|thumb|left|A lightmap value of 4]]
[[image:intlight_lmap4.jpg|thumb|left|A lightmap scale of 4]]
[[image:intlight_lmap16.jpg|thumb|left|A lightmap value of 16]]
[[image:intlight_lmap16.jpg|thumb|left|A lightmap scale of 16]]
[[image:intlight_lmap64.jpg|thumb|left|A lightmap value of 64]]
[[image:intlight_lmap64.jpg|thumb|left|A lightmap scale of 64]]




[[Category:Level Design]][[Category:Glossary]]
[[Category:Level Design]][[Category:Glossary]]

Revision as of 12:10, 11 June 2006

A lightmap is the surface on top of each face that stores all the lighting information of a face. Especially common in BSP based engines it is addativley applied to each face to produce the final lit effect.


Determined during the vrad compile proccess lightmaps are only applied to brush faces as models are lit differently. The lightmap's value is the size of each pixel of light (luxel) that the lightmap stores. Smaller values means smaller luxels, thus a better resoultion and quality but higher files size and compile times. The lightmap resolution can be viewed within Hammer by altering the viewmode in the top right to lightmap.

Related ConCommands

Examples

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