$envmap
Jump to navigation
Jump to search
The $envmap VMT parameter causes the material surface to reflect the nearest env_cubemap.
Basic VMT Syntax
"$envmap" "env_cubemap"
- AFAIK this is currently the only use of $envmap.
Additional Parameters
Adjust overall reflection color & contrast
$envmapcontrast
"$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
"$envmapsaturation" float
- Scales the colour intensity of the $envmap.
- saturation 0 == greyscale 1 == normal
$envmaptint
"$envmaptint" "[float float float]"
- Scales the red, green, and blue components of the $envmap.
Specular masking
$envmapmask
"$envmapmask" "texture"
- Masks the $envmap according to the alpha channel of the named
"texture"
.
$basealphaenvmapmask
"$basealphaenvmapmask" 1
- Masks the $envmap according to the alpha channel of the $basetexture.
$normalmapalphaenvmapmask
"$normalmapalphaenvmapmask" 1
$envmapmaskscale
"$envmapmaskscale" float
- Scales the $envmapmask by the
float
value. - dx8
$envmaskframe
"$envmaskframe"
- (to do ...)
TO DO ... help required
$envmaptransform
"$envmaptransform"
- dx9
$envmapframe
"$envmapframe"
$envmapmode
"$envmapmode" 1
$envmapsphere
"$envmapsphere" 1
See Also
- DirectX Versions
- Tutorial: Cubemaps in Level Design.
- Tutorial: Reflective Materials