$maxfogdensityscalar

From Valve Developer Community
Revision as of 15:07, 5 March 2013 by Shotgunefx (talk | contribs) (Added $maxfogdensityscalar description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The $maxfogdensityscalar when specified in a VertexLitGeneric material modulates the amount of fog the material receives.

Tip.pngTip:$maxfogdensityscalar is useful for modulating lit materials in foggy maps.

Usage

$maxfogdensityscalar "0.97"

Caveats

Only tested in L4D2, support in other games not verified.