$halflambert: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
"$halflambert" 1
[[Image:Alyx_lambert_half_lambert.jpg|right|200px|thumb|Lambertian (left) and Half Lambertian (right)]]
* Implements [[Half Lambert]] lighting of a material.


[[Category:List of Shader Parameters]]
Implements [[Half Lambert]] lighting, which wraps lighting further around a model to prevent it losing definition.
 
Requires <code>[[VertexLitGeneric]]</code>.
 
==Syntax==
 
$halflambert 1
 
[[Category:List of Shader Parameters|H]]
[[Category:VMT Lighting]]
[[Category:VMT Lighting]]

Revision as of 04:00, 13 July 2008

Lambertian (left) and Half Lambertian (right)

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

Requires VertexLitGeneric.

Syntax

$halflambert 1