Lightmap (GoldSrc)

From Valve Developer Community
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Note.pngNote:In vanilla GoldSrc GoldSrc, lightmap scale is always 1 luxel for every 16 texels (not units), regardless of texture scale. This means that smaller texture scales will result in allocblock being used up faster.
Cpp.pngCode Fix:A custom renderer can use the DecoupledLM BSPX lump to store higher resolution lightmaps separate from texel scale; ericw-tools can create GoldSrc BSPs with this lump.
Note.pngNote:Each compiled brush polygon can host a maximum of 15x15 luxels (240x240 texels) . HLBSP will chop faces to get extra luxels on if it needs to.