← index

Dot-Product Lighting

The one calculation under all diffuse shading: a surface is bright in proportion to how directly it faces the light, and 'how directly it faces' is the dot product of its normal with the light direction. Shown on a sphere you can light by dragging.