GLSL Programming/Phong Reflection Model

The Phong reflection model (see the Wikipedia article) is an illumination model that can be computed very efficiently. A variant of it (the Blinn–Phong reflection model, see Wikipedia article) is implemented in the fixed-function versions of OpenGL and in OpenGL ES 1.x.