Every surface you see in a real-time game — the gleam on a helmet, the dull matte of concrete, the bright spot on a billiard ball — is the result of a lighting model. The most influential one in history fits in a single line of arithmetic.
In 1975 Bui-Tuong Phong published his doctoral dissertation at the University of Utah. His insight was to split the light arriving at a surface point into three independent terms that together produce a convincing, if physically approximate, shading:
- Ambient: a constant base glow that stops surfaces from going completely black in shadow.
- Diffuse: light scattered equally in all directions from a rough surface, controlled by the angle between the surface normal and the light direction.
- Specular: a tight, shiny highlight whose position depends on how closely the viewing direction aligns with the reflected light ray.
The beauty of the model is that each term costs almost nothing to evaluate. All three are summed point by point across the surface, giving the smooth gradient that distinguishes Phong shading from flat or Gouraud shading.
Comments
Loading comments...