Click or drag to resize
SoMaterialspecularColor Property

Specular color of the surface.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoMFColor specularColor { get; }

Property Value

Type: SoMFColor
Remarks

Default is 0 0 0.

Specular reflection from an object produces highlights. Unlike ambient and diffuse reflection, the amount of specular reflection does depend on the location of the camera - it's brightest along the direct angle of reflection. To see this, imagine looking at a metallic ball outdoors in the sunlight. As you move your head, the highlight created by the sunlight moves with you to some extent. However, if you move your head too much, you lose the highlight entirely.

This field specifies the color of the reflected light. The OIV.Inventor.Nodes.SoMaterial.shininess field controls the size and brightness of the highlight.

See Also