From Valve Developer Community
Revision as of 06:47, 14 May 2020 by Blixibon (talk | contribs) (Started using new Since, etc. templates)
Jump to: navigation, search

LightmappedGeneric is a material shader available in all Source games. It is the shader most commonly used to render brushes, displacements and lightmapped surfaces.

Supported Parameters

$ssbump (in all games since <Source><Source>)
Self-shadowing bumpmapping.
Color tinting.
Use this material as a decal.
Detail texturing.
$distancealpha (in all games since <Source><Source>)
Vector-like edge filtering.
Specular reflections.
$lightwarptexture (in all games since <Source><Source>)
Per-texel color modification via a warp texture.
$seamless_scale (in all games since <Source><Source>)
Mitigation for displacement texture stretching.
Expensive and cheap transparency.
$phong (only in Counter-Strike: Global Offensive)
Diffuse reflections.
$PointSampleMagFilter (only in Counter-Strike: Global Offensive)
Disables texture filtering.

See also