$reflectivity

From Valve Developer Community
Jump to navigation Jump to search
Different reflectivity values.

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

Note.pngNote:$reflectivity only affects static lighting.
Tip.pngTip:(only in Slammin' Source Map Tools) You can use the -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.

External links