$reflectivity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with ''''<code>$reflectivity</code>''' overrides a VTF file's embedded reflectivity value. It tells VRAD how much received light should be bounced off the material. == Usage =…')
 
mNo edit summary
Line 9: Line 9:
The value is a [[material vector]].
The value is a [[material vector]].


[[Category:List of Shader Parameters]]
[[Category:List of Shader Parameters|R]]

Revision as of 07:05, 15 February 2010

$reflectivity overrides a VTF file's embedded reflectivity value. It tells VRAD how much received light should be bounced off the material.

Usage

To bounce 50% of received light without modifying its shade:

$reflectivity "[.5 .5 .5]"

The value is a material vector.