SoLightModelModels Enumeration |
Lighting model.
Namespace: OIV.Inventor.Nodes
Member name | Value | Description | |
---|---|---|---|
BASE_COLOR | 0 | Use only the base (diffuse) object color. Effectively lighting is turned off and light nodes are not considered. | |
PHONG | 1 | Obsolete. Use Phong lighting model. Obsoletesince Open Inventor 10000. PHONG is replaced by PER_VERTEX_PHONG to avoid ambiguities with PER_PIXEL_PHONG | |
PER_VERTEX_PHONG | 2 | Use Vertex-based Phong lighting model. A lighting computation is done 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 Pixel-based Phong lighting model (default). A lighting computation is done for each pixel (fragment) affected by the shape. |