Lightmap (Source 2)
Jump to navigation
Jump to search
Note:Lightmaps in Source 2 are 512x512 each. For example, compiling lighting at 8192 resolution compile (currently the maximum VRAD3 permits) will actually create 256 lightmaps (16x16).
Note:
Source 2 generates lightmaps for all static meshes.
Important:Unlike Source 1, mesh entities in Source 2 are never lightmapped; in order to get proper lighting on mesh entities, lightprobes must be built.
A lightmap is a generated texture applied to mesh faces to simulate lighting. The color values in the surface's albedo are multiplied by the color values in its lightmap.
Lightmaps are created by VRAD3 (formerly VRAD2) each time a map is compiled.
- In
Source 2, individual faces can be biased, giving them priority over other faces. The actual scale is dictated by total lightmap resolution, which is controlled separately.



