Difference between revisions of "Light (map compiling)"

From Quake Wiki

(New page: '''Light''' is one of the stages of map compiling. It calculates lighting and shadows for a bsp file previously generated by QBSP. ==What Light Does== Using the [[light (en...)
 
(What Light Does)
Line 2: Line 2:
  
 
==What Light Does==   
 
==What Light Does==   
Using the [[light (entity)|light entities]] from the [[entity lump]] of the bsp file, it precalculates the lighting on every surface in the [[level]], and saves that data as [[lightmap|lightmaps]] in the bsp file.  
+
Using the [[light (entity)|light entities]] from the [[entity lump]] of the bsp file, it precalculates the lighting on each [[surface]] in the level, and saves that data as [[lightmap|lightmaps]] in the bsp file.
  
 
==Using Light==
 
==Using Light==

Revision as of 10:20, 11 January 2010

Light is one of the stages of map compiling. It calculates lighting and shadows for a bsp file previously generated by QBSP.

What Light Does

Using the light entities from the entity lump of the bsp file, it precalculates the lighting on each surface in the level, and saves that data as lightmaps in the bsp file.

Using Light

Light is a command-line tool, generally named light.exe. You can invoke it from a command prompt, via a shortcut or batch file, or from the "compile" or "build" menus of some level editors.

Command-line options

TODO

Error Messages and Warnings

TODO

Updated Versions

In addition to id Software's official Light, there have been various unofficial versions that improve on the original or add additional features. For a list of Light variants, see mapping tools.