$reflectivity

From Valve Developer Community
Revision as of 12:14, 6 February 2019 by NvC DmN CH (talk | contribs) (changed the tip to a note)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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.png Note: $reflectivity only affects static light.

Usage

To bounce 50% of received light:

$reflectivity "[.5 .5 .5]"

The value is a material vector, representing a RGB color value.

External links