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

Note:Since
Source 2007, half-lambertian lighting is forcibly enabled on
) is enabled.
SirYodaJedi (talk | contribs) m (Replace deprecated template) |
No edit summary |
||
Line 10: | Line 10: | ||
$halflambert 1 | $halflambert 1 | ||
[[Category: | [[Category:Shader parameters|h]][[Category:VMT Lighting]] |
Revision as of 09:54, 15 August 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