CompileNoLight: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) (restore page) |
SirYodaJedi (talk | contribs) No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:%CompileNoLight}}{{subpage|[[Material map compile flags]]}} | |||
{{since|{{as}} {{src13}}}} | |||
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. | ||
Useful if you need features from shaders such as [[LightmappedGeneric]] or [[LightmappedReflective]] which are not present in [[UnlitGeneric]]. | |||
Useful | |||
==Syntax== | ==Syntax== | ||
Line 10: | Line 10: | ||
%compileNoLight 1 | %compileNoLight 1 | ||
[[Category:Material System]] | |||
[[Category: | [[Category:Shader parameters]] |
Latest revision as of 17:25, 24 March 2025
(in all games since
)
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 if you need features from shaders such as LightmappedGeneric or LightmappedReflective which are not present in UnlitGeneric.
Syntax
%compileNoLight 1