VertexLitGeneric
Jump to navigation
Jump to search
VertexLitGeneric
is the shader most commonly used to render models.
Supported effects
Cloak
VertexLitGeneric natively supports the Spy cloak effect from Team Fortress 2.
$cloakpassenabled <bool>
- Enables cloaking.
$cloakfactor <normal>
- 1 = fully visible, 0 = fully invisible.
$cloakcolortint <RGB matrix>
- Colours the refraction effect. Default is white.
$refractamount <float>
- How strong the refraction effect should be when the material is partially cloaked (default = 2).