CompileNoLight: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Note:This parameter is also available in Source 2013.
		
	
SirYodaJedi (talk | contribs)  (restore page)  | 
				SirYodaJedi (talk | contribs)  mNo edit summary  | 
				||
| Line 11: | Line 11: | ||
[[Category:  | |||
[[Category:Material System]]  | |||
[[Category:Shader parameters]]  | |||
Revision as of 17:24, 23 July 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.
Useful for LightmappedGeneric where you need to use some parameters that UnlitGeneric lacks.
Syntax
%compileNoLight 1