Lambert Shading Geometry

Intensity
0.00
I = max(0, cos θ) = max(0, N · L / |N|)   (L is a unit vector)
Top-down height profile
Color shows cushion height. The cross-section above shows how height determines shading.
How it works