LightmappedGeneric: Difference between revisions
SirYodaJedi (talk | contribs) |
No edit summary |
||
Line 34: | Line 34: | ||
=== Lighting === | === Lighting === | ||
{{MatParam|$bumpmap|texture|Specifies a texture that will provide three-dimensional lighting information for a material.}} | {{MatParam|$bumpmap|texture|Specifies a texture that will provide three-dimensional lighting information for a material.}} | ||
{{MatParam|$blendmodulatetexture|since={{src06}}|texture|Control sharpness and bias of blend. See [[Blendmodulate]]}} | |||
{{MatParam|$lightwarptexture|since={{src06}}|texture|Per-texel color modification via a warp texture. | {{MatParam|$lightwarptexture|since={{src06}}|texture|Per-texel color modification via a warp texture. | ||
{{Note|Does not appear to be featured on {{ent|LightmappedGeneric}} in {{csgobranch|4}}.}}}} | {{Note|Does not appear to be featured on {{ent|LightmappedGeneric}} in {{csgobranch|4}}.}}}} |
Revision as of 14:09, 18 June 2024
LightmappedGeneric
is a Pixel shader available in all Source games. It is the shader most commonly used to render lightmapped brushes and displacements.
Models cannot use this shader; lightmapped models use the VertexLitGeneric shader.
Supported Parameters
Basics
$basetexture
$decal
$detail
$surfaceprop
Adjustment
$basetexturetransform
$color
$decalscale
$detailscale
$detailblendfactor
$detailblendmode
$modelmaterial
$pointsamplemagfilter
$seamless_scale
Transparency
$alpha
$alphatest
$distancealpha
$nocull
$translucent
Lighting
$bumpmap
$blendmodulatetexture
$lightwarptexture
$selfillum
$ssbump
Reflection
$envmap
$phong
$phong_exp
$phong_exp2
Paint
$paintsplatnormalmap
$paintsplatbubblelayout
$paintsplatbubble
$paintenvmap
Texture Organization
%keywords
%notooltexture
%tooltexture
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.