%compilenolight

From Valve Developer Community
Revision as of 19:05, 16 August 2017 by Kidnation (talk | contribs) (Created page with "When this parameter is added to materials, it will tell VRAD to not compile a Lightmap page for that material, which saves compile time. Valve introduced this par...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

When this parameter is added to materials, it will tell VRAD to not compile a Lightmap page for that material, which saves compile time. Valve introduced this parameter with Alien Swarm, using it with tools/toolsnolight.vmt, the black areas you see in the levels.

Requires LightmappedGeneric or UnlitGeneric.

Syntax

   %compileNoLight                         1