$color: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 3: Line 3:
  $color "[<red [[float]]> <green float> <blue float>]"
  $color "[<red [[float]]> <green float> <blue float>]"


Quote marks are required. The default values is <code>[1 1 1]</code>.
Quote marks are required. The default value is <code>[1 1 1]</code>.


[[Category:List of Shader Parameters|C]]
[[Category:List of Shader Parameters|C]]
[[Category:VMT Lighting]]
[[Category:VMT Lighting]]

Revision as of 04:08, 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 value is [1 1 1].