Refract
From Valve Developer Community
A refracting func_brush.
The Refract shaders distorts objects behind it. It is similar to Water, but does not reflect and so is not restricted to flat surfaces. Can be used to create distorting glass windows etc.
Syntax
Refract
{
$normalmap ...
$dudvmap ...
$refracttint "[1 1 1]"
$refractamount .2
}
-
$normalmap <string> -
$dudvmap <string> - The pattern of refraction is defined by a bump map (DX9+) or DUDV map (DX8-). May be animated.
-
$refracttint <color> -
$refracttinttexture <string> - Tints the colour of the refraction either uniformly or per-texel.
-
$refractamount <float> -
$bluramount <float> - Strength of the effect. Use low values.
-
$forcerefract -
Confirm: Override for users running with low detail settings?
-
$vertexcolormodulate -
To do: See $vertexcolor.
