$maxfogdensityscalar: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added $maxfogdensityscalar description)
 
No edit summary
Line 1: Line 1:
The $maxfogdensityscalar when specified in a VertexLitGeneric material modulates the amount of fog the material receives.  
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|R]]
[[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.

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.