LightModelThe LightModel item defines the lighting model to use for the scene. More... Inherits QtObject LightModel instantiates the C++ class QGLLightModel This type was introduced in Qt 4.8. Properties
Detailed DescriptionSee also Light. Property DocumentationThe ambient color of the entire scene. The default value is (0.2, 0.2, 0.2, 1.0). The color control mode, either SingleColor or SeparateSpecularColor. The default value is SingleColor. If SingleColor is specified, then a single color is calculated by the lighting computation for a vertex. If SeparateSpecularColor is specified, then a separate specular color computation is performed and then summed into the pixel color after texture mapping. The lighting model to use, either OneSided or TwoSided. The default is OneSided. The viewer position, either ViewerAtInfinity or LocalViewer. The default value is ViewerAtInfinity. |