$halflambert: Difference between revisions
Jump to navigation
Jump to search

Note:Since
Source 2007, half-lambertian lighting is forcibly enabled on
) is enabled.
Kestrelguy (talk | contribs) m (added language bar.) |
SirYodaJedi (talk | contribs) m (Replace deprecated template) |
||
Line 3: | Line 3: | ||
{{Shaderparam|$halflambert|shader1=VertexLitGeneric|shader2=Teeth|shader3=EyeRefract|shader4=VortWarp|shader5=Infected (shader)}} It is a boolean parameter that enables [[Half Lambert|half-lambertian]] lighting, which wraps lighting further around a model to prevent it from losing definition. It only works on models. | {{Shaderparam|$halflambert|shader1=VertexLitGeneric|shader2=Teeth|shader3=EyeRefract|shader4=VortWarp|shader5=Infected (shader)}} It is a boolean parameter that enables [[Half Lambert|half-lambertian]] lighting, which wraps lighting further around a model to prevent it from losing definition. It only works on models. | ||
{{note|Since {{src07|4}}, half-lambertian lighting is forcibly enabled on <code>VertexLitGeneric</code> regardless of <code>$halflambert</code> setting when {{ent|$phong}} is enabled, unless <code>$phongdisablehalflambert</code>{{ | {{note|Since {{src07|4}}, half-lambertian lighting is forcibly enabled on <code>VertexLitGeneric</code> regardless of <code>$halflambert</code> setting when {{ent|$phong}} is enabled, unless <code>$phongdisablehalflambert</code>{{as|since}} is enabled.}} | ||
{{note|This parameter is disabled since {{csgo}} due to conflicts with cascade shadow mapping.}} | {{note|This parameter is disabled since {{csgo}} due to conflicts with cascade shadow mapping.}} | ||
Revision as of 20:21, 26 May 2023


Template:Shaderparam It is a boolean parameter that enables half-lambertian lighting, which wraps lighting further around a model to prevent it from losing definition. It only works on models.


VertexLitGeneric
regardless of $halflambert
setting when $phong is enabled, unless $phongdisablehalflambert
(in all games since 
Syntax
$halflambert 1