Open In App

Constant-Intensity Shading in Computer Graphics

In computer graphics shading is referred to as the process of altering the color of an object in the 3D scene based on the surface angle to lights, its distance from the light, and the material properties. Constant intensity is also known as flat shading. This is the most simple and very fast method to specify a color of an object. Flat shading of a polygon assumes that each polygon is strictly planar and all the points on the polygon have exactly the same blind light treatment. In this method, a single intensity is calculated for each polygon.

This technique thus displays all the points in a polygon with a single color. In this method, the main idea is that we use only one surface normal per polygon.

In general, flat shading of polygon facets provides an accurate rendering for an object if all the following are valid:

Advantage:

 

Disadvantage:

Article Tags :