$reflectivity: Difference between revisions
Jump to navigation
Jump to search
Note:$reflectivity only affects static light.
NvC DmN CH (talk | contribs) m (changed the tip to a note) |
(Added external link to a YouTube video explaining the shader parameter.) |
||
Line 14: | Line 14: | ||
== External links == | == External links == | ||
* [https://www.youtube.com/watch?v=SMaWXz-gf28 YouTube Video - Source Engine $reflectivity Shader Parameter] | |||
* [http://www.nodraw.net/2011/02/reflectivity Nodraw.net - brief explanation with screenshots of effects] | * [http://www.nodraw.net/2011/02/reflectivity Nodraw.net - brief explanation with screenshots of effects] | ||
[[Category:List of Shader Parameters|R]] | [[Category:List of Shader Parameters|R]] |
Revision as of 17:16, 26 January 2022
$reflectivity
overrides a VTF file's embedded reflectivity value. It tells VRAD how much light should be bounced off the material, without affecting how much it receives.

Usage
To bounce 50% of received light:
$reflectivity "[.5 .5 .5]"
The value is a material vector, representing a RGB color value.