SoLightModelModels Enumeration |
Lighting model.
Namespace: OIV.Inventor.Nodes
Member name | Value | Description | |||
---|---|---|---|---|---|
BASE_COLOR | 0 | Use only the base color of an object. Effectively lighting is turned off and light nodes are not considered. This mode is adapted to render annotation, for data visualization, for 2D scenes, and other special cases. | |||
PHONG | 1 | Obsolete. Use Phong lighting model.
| |||
PER_VERTEX_PHONG | 2 | Use the Vertex-based Phong lighting model (default). Lighting is computed at each vertex of the shape and the color of each pixel (fragment) is determined by interpolating between these values. This model produces less realistic results than pixel-based lighting, especially for Point and Spot lights. | |||
PER_PIXEL_PHONG | 3 | Use the Pixel-based Phong lighting model. A lighting computation is done for each pixel (fragment) affected by the shape. | |||
PHYSICALLY_BASED | 4 | Use the physically based lighting model. |