Lightmap (Source 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 6: Line 6:
{{note|{{src2|4.1}} generates lightmaps for all static meshes.}}
{{note|{{src2|4.1}} 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.}}

Revision as of 07:16, 5 March 2025

Stub

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

In Source 2 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.
Note.pngNote: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.pngNote:Source 2 Source 2 generates lightmaps for all static meshes.
Icon-Important.pngImportant:Unlike Source 1, mesh entities in Source 2 are never lightmapped; in order to get proper lighting on mesh entities, lightprobes must be built.