CompileNoLight: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) mNo edit summary |
SirYodaJedi (talk | contribs) m (SirYodaJedi moved page %CompileNoLight to CompileNoLight: move to prevent external links from being eaten) |
(No difference)
|
Revision as of 17:24, 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