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

Note:Since
Source 2007, half-lambertian lighting is forcibly enabled on
) is enabled.
Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: [[Image: → [[File:) |
(Preparing page for move. This action was perfomed by a bot under supervision.) |
||
Line 1: | Line 1: | ||
{{langsp}} | |||
{{Underlinked|date=January 2024}} | {{Underlinked|date=January 2024}} | ||
[[File:Alyx_lambert_half_lambert.jpg|right|200px|thumb|Lambertian (left) and Half Lambertian (right)]] | [[File:Alyx_lambert_half_lambert.jpg|right|200px|thumb|Lambertian (left) and Half Lambertian (right)]] | ||
{{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. | ||
Line 10: | Line 10: | ||
$halflambert 1 | $halflambert 1 | ||
Revision as of 13:14, 11 January 2024



This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024



January 2024
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