Click or drag to resize
SoPhysicalMaterialspecular Property

Specular coefficient of the surface.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public SoSFFloat specular { get; }

Property Value

Type: SoSFFloat
Remarks

Values can range from 0.0 to 1.0. Default is 0.

Specular reflection from an object produces highlights. Unlike diffuse reflection, the amount of specular reflection depends on the location of the camera - it is 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 intensity of the reflected light. The OIV.Inventor.Nodes.SoPhysicalMaterial.roughness field controls the size of the highlight.

See Also