$reflectivity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


[[Category:List of Shader Parameters|R]]
[[Category:List of Shader Parameters|R]]
== External links ==
* [http://www.nodraw.net/2011/02/reflectivity Nodraw.net - brief explanation with screenshots of effects]

Revision as of 06:24, 15 February 2011

Different reflectivity values. Click (twice!) for animation.

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

Tip.pngTip:$reflectivity only affects VRAD.

Usage

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

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

The value is a material vector.


External links