$color: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (tidy (now more visible))
No edit summary
Line 1: Line 1:
{{stub}}
'''<code>$color</code>''' independently scales the [[RGB|red, green and blue]] channels of an [[albedo]].


  "$color" "[float float float]"
  $color "[<red [[float]]> <green float> <blue float>]"
* Scales red, green, and blue components of the material.


[[Category:List of Shader Parameters]]
Quote marks are required. The default values is <code>[1 1 1]</code>.
 
[[Category:List of Shader Parameters|C]]
[[Category:VMT Lighting]]
[[Category:VMT Lighting]]

Revision as of 03:10, 15 July 2008

$color independently scales the red, green and blue channels of an albedo.

$color "[<red float> <green float> <blue float>]"

Quote marks are required. The default values is [1 1 1].