Refract
Jump to navigation
Jump to search
A refracting func_brush.
The Refract shaders distorts objects behind it. It is similar to Water, but does not reflect.
Example
Refract
{
$normalmap ... // Defines the refraction pattern; may be animated
$dudvmap ... // As above when running below DX9
$refracttint "[1 1 1]" // Colors the refraction
$refractamount 0.2 // Refraction strength; use low values
}
$refracttint values greater than one can make it brighten instead of darken.$bluramount 1.0 // Defines how much the refraction should blur.$refracttinttexture ... // Defines a texture map for tinting the refraction.