C++
enum FaceLightingQuality { kNoLighting, kPerFaceLighting, kPerVertexLighting, kPerPixelLighting };
File
acgivisualstyle.h
Members
Members | Description |
---|---|
kNoLighting | Apply no lighting calculations to the faces. |
kPerFaceLighting | Each face has a color calculated based on its orientation to the light source(s) of the scene. |
kPerVertexLighting | Each vertex of a face has its color calculated based on its orientation to the light source(s) of the scene. |
kPerPixelLighting | Each pixel of a face has its color calculated based on its orientation to the light source(s) of the scene. |
Description
Describes the calculation method used for application of lighting effects to faces.