$maxfogdensityscalar: Difference between revisions
Jump to navigation
Jump to search
Tip:$maxfogdensityscalar is useful for modulating lit materials in foggy maps. For example in L4D2's Hard Rain campaign, this is used on the gas station in the 3D skybox to make it visible as a landmark through opaque fog.
No edit summary |
Squishyderg (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
== Caveats == | == Caveats == | ||
Only tested in L4D2, support in other games not verified. Not known if its cheap or expensive. | Only tested in L4D2, support in other games not verified. Not known if its cheap or expensive. | ||
Does not work in Team Fortress 2. |
Revision as of 14:50, 12 August 2020
The $maxfogdensityscalar when specified in a VertexLitGeneric material modulates the amount of fog the material receives.

Usage
$maxfogdensityscalar "0.97"
Caveats
Only tested in L4D2, support in other games not verified. Not known if its cheap or expensive.
Does not work in Team Fortress 2.