LightmappedGeneric

From Valve Developer Community
Revision as of 12:09, 27 June 2019 by Deprecated (talk | contribs) (Changed to use Shader and ent templates, added game add information)
Jump to navigation Jump to search

Shader-ball.png LightmappedGeneric It is the shader most commonly used to render brushes, displacements and lightmapped surfaces.

Supported Parameters

$bumpmap
Bumpmapping.
$ssbump Template:EP2 add
Self-shadowing bumpmapping.
$color
Color tinting.
$decal
Use this material as a decal.
$detail
Detail texturing.
$distancealpha Template:EP2 add
Vector-like edge filtering.
$envmap
Specular reflections.
$lightwarptexture (in all games since Half-Life 2: Episode One)
Per-texel color modification via a warp texture.
$seamless_scale Template:EP2 add
Mitigation for displacement texture stretching.
$selfillum
Self-illumination.
$translucent
$alpha
Expensive and cheap transparency.
$phong Template:CSGO add
Diffuse reflections. Counter-Strike: Global Offensive only.

See also