$halflambert: Difference between revisions
Jump to navigation
Jump to search
Note:Since Source 2007, half-lambertian lighting is forcibly enabled on
Deprecated (talk | contribs) (This parameter is disabled in CSGO) |
Theuaredead` (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
{{note|Since [[Source 2007]], half-lambertian lighting is forcibly enabled on <code>VertexLitGeneric</code> regardless of <code>$halflambert</code> setting when <code>[[phong|$phong]]</code> is enabled, unless <code>$phongDisableHalfLambert</code>{{AS add}} is enabled.}} | {{note|Since [[Source 2007]], half-lambertian lighting is forcibly enabled on <code>VertexLitGeneric</code> regardless of <code>$halflambert</code> setting when <code>[[phong|$phong]]</code> is enabled, unless <code>$phongDisableHalfLambert</code>{{AS add}} is enabled.}} | ||
{{note|This parameter is disabled in {{ | {{note|This parameter is disabled in {{l4d2}} due to conflicts with cascade shadow mapping.}} | ||
==Syntax== | ==Syntax== |
Revision as of 20:48, 9 July 2021
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
Template:AS add is enabled.Syntax
$halflambert 1