The Blinn–Phong reflection model (also called the modified Phong reflection model) is a shading model used in computer graphics to simulate the interaction of light with surfaces. It was introduced by James F. Blinn in 1977 as a computationally efficient modification of the Phong reflection model developed by Bui Tuong Phong in 1975.
Key Modification The primary distinction between the Blinn–Phong and the original Phong model lies in the calculation of the specular highlight. The Phong model calculates the specular term using the angle between the view direction and the perfect reflection of the light direction across the surface normal. Blinn–Phong replaces this with the angle between the surface normal and the halfway vector (the normalized vector halfway between the view direction and the light direction).
Computational Characteristics
- Efficiency: For directional lights and a fixed viewer (orthographic projection), the halfway vector is constant, allowing it to be pre-calculated. This made the model significantly faster to evaluate on the hardware available in the late 1970s and 1980s.
- Hardware Adoption: Due to this efficiency, Blinn–Phong became the default shading model for the fixed-function pipelines of early graphics APIs, including OpenGL (prior to the core profile) and Direct3D (prior to Direct3D 10).
Visual Differences
- Highlight Shape: The Blinn–Phong model produces specular highlights that are more elliptical at grazing angles, which generally matches physical observations (such as the Fresnel effect) more closely than the circular highlights of the Phong model at similar angles.
- Parameterization: The shininess exponent in Blinn–Phong typically requires higher values to achieve a highlight size visually similar to the Phong model, as the angle between the normal and the halfway vector is smaller than the angle between the view and reflection vectors.
Limitations Like the Phong model, Blinn–Phong is an empirical model. It does not inherently conserve energy (the total reflected light can exceed the incident light), and it does not account for physically based phenomena such as Fresnel reflectance variation with angle, microsurface shadowing/masking, or wavelength-dependent behavior. It has largely been superseded by physically based rendering (PBR) models, such as the Cook–Torrance model or GGX distribution, in modern real-time and offline rendering pipelines.