Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

$maxfogdensityscalar/en

From Valve Developer Community
Jump to: navigation, search


Stub

This article or section is a stub. You can help by adding to it.

$maxfogdensityscalar is a material shader parameter available in Left 4 Dead 2 Left 4 Dead 2 for VertexLitGeneric.It modulates the amount of fog the material receives.

Tip.pngTip: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.

Usage

$maxfogdensityscalar "0.97"

Caveats

Only tested in Left 4 Dead 2 Left 4 Dead 2, support in other games not verified. Not known how cheap or expensive it is.

Does not work in Team Fortress 2 Team Fortress 2.