CompileNoLight: Difference between revisions
Jump to navigation
Jump to search
Note:This parameter is also available in Source 2013.
Tip:In
's VertexLitGeneric, a similar effect can be applied on models by assigning vgui/white to $lightmap.
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) (I could also see it being used for a fullbright mirror) |
||
Line 5: | Line 5: | ||
Useful | Useful if you need features from shaders such as [[LightmappedGeneric]] or [[LightmappedReflective]] which are not present in [[UnlitGeneric]]. | ||
==Syntax== | ==Syntax== |
Revision as of 13:11, 19 March 2025
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

