Difference between revisions of "%compilenolight"

From Valve Developer Community
Jump to: navigation, search
(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...")
 
m (Also available in Source 2013!)
 
Line 1: Line 1:
 
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 <code>tools/toolsnolight.vmt</code>, the black areas you see in the levels.
 
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 <code>tools/toolsnolight.vmt</code>, the black areas you see in the levels.
 +
 +
{{Note|This parameter is also available in Source 2013.}}
 +
  
 
Requires <code>[[LightmappedGeneric]] or [[UnlitGeneric]]</code>.
 
Requires <code>[[LightmappedGeneric]] or [[UnlitGeneric]]</code>.

Latest revision as of 22:14, 14 December 2018

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:This parameter is also available in Source 2013.


Requires LightmappedGeneric or UnlitGeneric.

Syntax

   %compileNoLight                         1