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

Note:Since
Source 2007, half-lambertian lighting is forcibly enabled on
) is enabled.
Important:Does not work on static props which have lighting baked per-vertex or into lightmaps in stock VRAD; this could be achieved with a custom VRAD.
m (Multipage removal) |
m (Nesciuse moved page $halflambert/en to $halflambert without leaving a redirect: Move en subpage to basepage) |
(No difference)
|
Revision as of 03:31, 12 July 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