VertexLitGeneric: Difference between revisions
Jump to navigation
Jump to search
Gtamike TSGK (talk | contribs) |
No edit summary |
||
Line 11: | Line 11: | ||
*<code>[[$translucent]]</code> and <code>[[$alpha]]</code> | *<code>[[$translucent]]</code> and <code>[[$alpha]]</code> | ||
*<code>[[$emissiveblend]]</code> (the 'Vortessence' effect?) | *<code>[[$emissiveblend]]</code> (the 'Vortessence' effect?) | ||
*<code>[[$compress]]</code> | |||
=== Cloak === | === Cloak === |
Revision as of 02:09, 19 June 2013
VertexLitGeneric
is the shader most commonly used to render models.
Supported effects
$bumpmap
$detail
$envmap
$flesh
$halflambert
$phong
$translucent
and$alpha
$emissiveblend
(the 'Vortessence' effect?)$compress
Cloak
VertexLitGeneric natively supports the Spy cloak effect from Team Fortress 2. You will want to combine it with a sine wave proxy for the full effect.
$cloakpassenabled <bool>
- Enables cloaking effects.
$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).