An interface class representing flat shading. More...
#include <ishading_model.h>
Inherits mi::base::Interface_declare< 0x9af9c55e, ... >.
An interface class representing flat shading.
For flat shading, only the perpendicular normal of a triangle or polygon is considered for lighting which defines the shading of the entire face. As a result all the face's vertices are colored using a single color, which allows differentiation between adjacent faces. Specular highlights are particularly poor when using flat shading. For example, a large specular component determines the brightness rendered uniformly on an entire face. Similarly, a specular highlight that is not considered at a shading position will be ignored completely for shading the face.
The interface class serves as a flag considered in the scene description and therefore no parameters need to be exposed.