$reflectivity: Difference between revisions
Jump to navigation
Jump to search
Note:$reflectivity only affects static lighting.
Tip:You can use the
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
* [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: | [[Category:Shader parameters|r]] | ||
Revision as of 10:04, 15 August 2023
$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.
-reflectivityScale <float> parameter in VRAD to scale the light bounced across the whole map. Default is 1.Usage
To bounce 50% of received light:
$reflectivity "[.5 .5 .5]"
The value is a material vector, representing a RGB color value.
