CompileNoLight: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{subpage|[[Material map compile flags]]}}
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.



Revision as of 14:10, 3 August 2024

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


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

Syntax

   %compileNoLight                         1