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

Note:Since
Source 2007, half-lambertian lighting is forcibly enabled on
(This linked to the point-entity) |
Kestrelguy (talk | contribs) m (added language bar.) |
||
Line 1: | Line 1: | ||
{{lang|$halflambert}} | |||
[[Image:Alyx_lambert_half_lambert.jpg|right|200px|thumb|Lambertian (left) and Half Lambertian (right)]] | [[Image: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. | ||
{{note|Since | {{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 add}} 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.}} | ||
Line 9: | Line 10: | ||
$halflambert 1 | $halflambert 1 | ||
[[Category:List of Shader Parameters|H]] | [[Category:List of Shader Parameters|H]][[Category:VMT Lighting]] | ||
[[Category:VMT Lighting]] |
Revision as of 09:01, 13 September 2022


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