This article's documentation is for anything that uses the Source engine. Click here for more information.

LightmappedGeneric: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 58: Line 58:
=== Texture Organization ===
=== Texture Organization ===
{{MatParam|%keywords|bool|Sets a keyword filter that can be filtered in hammer for easier texture finding.}}
{{MatParam|%keywords|bool|Sets a keyword filter that can be filtered in hammer for easier texture finding.}}
{{MatParam|%notooltexture|bool|Hides the material from Hammer's texture browser.}}
{{MatParam|%notooltexture|bool|Hides the material from Hammer's texture browser.{{warning|Non-functional in {{hammer++|4.1}}.}} }}
{{MatParam|%tooltexture|texture|Used to blend texture previews in [[Hammer]].}}
{{MatParam|%tooltexture|texture|Used to blend texture previews in [[Hammer]].}}



Revision as of 18:54, 26 May 2024

English (en)Français (fr)Русский (ru)Translate (Translate)

LightmappedGeneric is a Pixel shader available in all Source 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 $lightwarptexture $selfillum $ssbump

Reflection

$envmap $phong $phong_exp $phong_exp2

Portal 2Paint

$paintsplatnormalmap $paintsplatbubblelayout $paintsplatbubble $paintenvmap


Texture Organization

%keywords %notooltexture %tooltexture

Effect

$nofog

Caveats

Mapbase

LightmappedGeneric materials in Mapbase should have the shader SDK_LightmappedGeneric.


See also