.vmt file
- Code: Select all
"Refract"
{
"$bluramount" "1"
"$surfaceprop" "glass"
"$refractamount" ".25"
"$refracttint" "[1.5 1.5 1.5]"
"$transluscent" "1"
"$scale" "[1 1]"
"$normalmap" "nightshift/rain_normal"
"$dudvmap" "nightshift/rain_dudv"
"$envmap" "env_cubemap"
"$envmaptint" "[ .7 .7 .7]"
"$REFRACTINTEXTURE" "nightshift/rain"
"Proxies"
{
"TextureScroll"
{
"texturescrollvar" "$bumptransform"
"texturescrollrate" 1
"texturescrollangle" -90
}
}
}
Screenshot:

See how the refracted glass blocks the point_spotlight?
Thanks.



