$reflectivity: Difference between revisions
Jump to navigation
Jump to search
Tip:$reflectivity only affects static light.
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:Reflectivity.gif| | [[File:Reflectivity.gif|frame|right|Different reflectivity values.]] | ||
'''<code>$reflectivity</code>''' overrides a [[VTF]] file's embedded reflectivity value. It tells [[VRAD]] how much | '''<code>$reflectivity</code>''' 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. | ||
{{tip|$reflectivity only affects [[ | {{tip|$reflectivity only affects [[static light]].}} | ||
== Usage == | == Usage == | ||
To bounce 50% of received light | To bounce 50% of received light: | ||
<source lang=php>$reflectivity "[.5 .5 .5]"</source> | |||
The value is a [[material vector]]. | The value is a [[material vector]]. | ||
== External links == | == External links == | ||
* [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]] |
Revision as of 09:17, 19 August 2011
$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.