$envmap

From Valve Developer Community
Revision as of 15:10, 8 November 2007 by Beeswax (talk | contribs)
Jump to navigation Jump to search
"$envmap" "env_cubemap"

$envmap Tweaks

Adjust overall reflection color & contrast

"$envmapcontrast" float
  • Scales the dynamic range of the reflected env_cubmap.
  • Use higher contrasts to diminish relatively darker areas, increase "hot spots".
  • contrast 0 == normal 1 == color*color.
"$envmapsaturation" float
  • Scales the colour intensity of the $envmap.
  • saturation 0 == greyscale 1 == normal
"$envmaptint" "[float float float]"
  • Scales the red, green, and blue components of the $envmap.


Mask reflective areas using alpha channel of a referenced texture

"$envmapmask" "texture"
  • Masks the $envmap according to the alpha channel of the named "texture".
"$basealphaenvmapmask" 1
"$normalmapalphaenvmapmask" 1
"$envmapmaskscale" float

Other envmap tweaks ... ?

"$envmapmode" 1
  • TO DO
"$envmapsphere" 1
  • TO DO