User Tools

Site Tools



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

Link to this comparison view

modding:light_map [2006-07-22 14:56]
modding:light_map [2009-08-13 18:10] (current)
dewbot Robot: Changing Category:Map Author's Guide
Line 1: Line 1:
 +//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 18:10 by dewbot