 This process is repeated for all the vertices in the 3D model.Next, the shading of the edges between the vertices is calculated by interpolating between the vertex values.Finally, the shading inside of the polygon is calculated as an interpolation of the surrounding edge values.