Difference between revisions of "%compilenolight"

From Valve Developer Community
Jump to: navigation, search
m (Also available in Source 2013!)
 
Line 4: Line 4:
  
  
Requires <code>[[LightmappedGeneric]] or [[UnlitGeneric]]</code>.
+
Useful for [[LightmappedGeneric]] where you need to use some parameters that [[UnlitGeneric]] lacks.
  
 
==Syntax==
 
==Syntax==

Latest revision as of 07:51, 16 April 2020

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.

Note.png Note: This parameter is also available in Source 2013.


Useful for LightmappedGeneric where you need to use some parameters that UnlitGeneric lacks.

Syntax

   %compileNoLight                         1