$halflambert

From Valve Developer Community
Revision as of 18:58, 24 April 2019 by Deprecated (talk | contribs) (Added that $phong forces this on, based on comments of ASW code)
Jump to navigation Jump to search
Lambertian (left) and Half Lambertian (right)

Implements Half Lambert lighting, which wraps lighting further around a model to prevent it losing definition.

Requires VertexLitGeneric.

Note.pngNote:This paramater is forced on regardless of $halflambert setting when $phong is enabled, unless $phongDisableHalfLambertTemplate:AS add is enabled.

Syntax

$halflambert 1