LightmappedGeneric
LightmappedGeneric
It is the shader most commonly used to render brushes, displacements and lightmapped surfaces.
Only some games like support this shader to be used on models.
Supported Parameters
Basics
[[$basetexture|$basetexture]]
[[$decal|$decal]]
[[$detail|$detail]]
[[$surfaceprop|$surfaceprop]]
[[%tooltexture|%tooltexture]]
Adjustment
[[$color|$color]]
[[$pointsamplemagfilter (only in
)|$pointsamplemagfilter (only in
)]]
[[$seamless_scale (in all games since
)]]|$seamless_scale (in all games since
)]]]]
Transparency
[[$alpha|$alpha]]
[[$alphatest|$alphatest]]
[[$distancealpha (in all games since
)|$distancealpha (in all games since
)]]
[[$nocull|$nocull]]
[[$translucent|$translucent]]
Lighting
[[$bumpmap|$bumpmap]]
[[$lightwarptexture (in all games since
)|$lightwarptexture (in all games since
)]]
[[$selfillum|$selfillum]]
[[$ssbump (in all games since
)|$ssbump (in all games since
)]]
Reflection
[[$envmap|$envmap]]
[[$phong (only in
)|$phong (only in
)]]
Effect
Caveats
Mapbase
LightmappedGeneric materials in Mapbase should have the shader SDK_LightmappedGeneric
.
See also
WorldVertexTransition
, a shader used on displacements to blend two materials together.LightmappedTwoTexture
, a brush shader that multiplies a texture on top of another one.Lightmapped_4WayBlend
, a shader used on displacements to blend up to four materials together.