User Tools

Site Tools


modding:light_map

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

light_map [2006-07-22 11:56] skyjakelight_map [2009-08-13 15:10] (current) – Robot: Changing Category:Map Author's Guide dewbot
Line 1: Line 1:
 +{{stub}}
 +{{update}}
 +{{cleanup}}
 +
 +//Light maps// are monochrome images that can be used with dynamic lights. The dimensions of a light map must be powers of two, for example 256 x 256. If the map contains an alpha channel, the actual color values are ignored; only the alpha values are significant. If the map doesn't have an alpha channel, one is generated by averaging the color values of the image.
 +
 +Example: If you assign the light map "Round" to a light source, images with that file name are searched from the LightMaps directory. The accepted image formats are PCX, TGA and PNG. If Round.pcx, Round.tga or Round.png is found, it will be loaded.
 +
 +
 +
  
modding/light_map.txt · Last modified: 2009-08-13 15:10 by dewbot