VertexLitGeneric
Jump to navigation
Jump to search
VertexLitGeneric
It is the shader most commonly used to render models, and supports a variety of effects.
Supported Parameters
- $bumpmap
- Bumpmapping.
$color2
- Color tinting.
- $detail
- Detail texturing.
- $envmap
- Specular reflections.
- $emissiveblend Template:EP2 add
- Advanced flowing self-illumination, used on the Vortigaunts in
Half-Life 2: Episode Two .
- $flesh Template:EP2 add
- The flesh effect used for Alyx in Half-Life 2: Episode Two.
- $halflambert
- Half-lambertian shading.
- $lightwarptexture (in all games since
)
- Per-texel color modification via a warp texture.
- $phong (in all games since
)
- Diffuse reflections.
- $rimlight Template:EP2 add
- Constant rimlight based on phong and the ambient lighting.
- $selfillum
- Self-illumination.
- $translucent
- $alpha
- Expensive and cheap transparency.
$compress
Template:EP2 add$stretch
Template:EP2 add- Wrinklemaps for character faces.
- $treeSway Template:L4D add
- Vertex manipulation to give the effect of trees swaying in the wind.
Misc Parameters
$flashlightnolambert
$seperatedetailuvs
$desaturatewithbasealpha
$allowfencerenderstatehack
$disablecsmlookup
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
$cloakfactor
$cloakcolortint
$refractamount
See also
- Materials for models
- EyeRefract, the shader for modeled eyes.
- Teeth, the shader for modeled teeth.