$reflectivity: Difference between revisions
Jump to navigation
Jump to search
Note:$reflectivity only affects static lighting.
Tip:You can use the
(Added external link to a YouTube video explaining the shader parameter.) |
No edit summary |
||
Line 3: | Line 3: | ||
'''<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. | '''<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. | ||
{{note|$reflectivity only affects [[static light]].}} | {{note|$reflectivity only affects [[static light|static lighting]].}} | ||
{{tip|You can use the <code>-reflectivityScale <[[float]]></code> parameter in [[VRAD]] to scale the light bounced across the whole map. Default is 1.}} | |||
== Usage == | == Usage == |
Revision as of 15:01, 28 December 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.


-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.