$maxfogdensityscalar: Difference between revisions
Jump to navigation
Jump to search
Tip:$maxfogdensityscalar is useful for modulating lit materials in foggy maps.
Shotgunefx (talk | contribs) (Added $maxfogdensityscalar description) |
Shotgunefx (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
The $ | The '''<code>$rimlight</code>''' when specified in a VertexLitGeneric material modulates the amount of fog the material receives. | ||
{{tip|$maxfogdensityscalar is useful for modulating lit materials in foggy maps.}} | {{tip|$maxfogdensityscalar is useful for modulating lit materials in foggy maps.}} | ||
Line 7: | Line 7: | ||
<source lang=php>$maxfogdensityscalar "0.97"</source> | <source lang=php>$maxfogdensityscalar "0.97"</source> | ||
[[Category:List of Shader Parameters| | [[Category:List of Shader Parameters|M]] | ||
== Caveats == | == Caveats == | ||
Only tested in L4D2, support in other games not verified. | Only tested in L4D2, support in other games not verified. |
Revision as of 15:09, 5 March 2013
The $rimlight
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.