Getting Started
...
Glossary
N-Z Terms
Phong
3min
a shading model used to render 3d surfaces in computer graphics it is a physically based model that simulates the way light interacts with real world materials phong shading calculates the color of a surface by considering the following factors the position of the light source the position of the surface the material properties of the surface phong shading uses a three step process to calculate the color of a surface diffuse shading diffuse shading calculates the amount of light that is reflected diffusely from a surface diffuse reflection is the most common type of reflection, and it occurs when light is scattered in all directions when it hits a surface specular shading specular shading calculates the amount of light that is reflected specularly from a surface specular reflection occurs when light is reflected in a single direction from a surface specular reflection is responsible for the highlights that we see on shiny objects ambient shading ambient shading calculates the amount of light that is reflected ambiently from a surface ambient reflection occurs when light is reflected from the environment around a surface ambient reflection is responsible for the overall brightness of a surface the phong shading model is named after bui tuong phong, who developed it in 1975 phong shading is a simple but effective shading model that is widely used in computer graphics here are some of the benefits of using phong shading simple phong shading is a simple shading model that is easy to implement efficient phong shading is an efficient shading model that can be used to render 3d scenes quickly effective phong shading can be used to create realistic and immersive 3d scenes here are some of the drawbacks of using phong shading not physically accurate phong shading is not a physically accurate shading model it does not take into account all of the factors that affect the way light interacts with real world surfaces not suitable for all materials phong shading is not suitable for all materials it is best suited for rendering surfaces that have smooth, reflective properties not suitable for all lighting conditions phong shading is not suitable for all lighting conditions it can produce unrealistic results in certain lighting conditions overall, phong shading is a simple and efficient shading model that can be used to create realistic and immersive 3d scenes however, it is important to be aware of the limitations of phong shading before using it in your projects feedback please be sure to submit issues or feature requests through the embedded feedback form in the event it is a major issue please contact us directly through discord