Click or drag to resize
SoVolumeRenderingQualitylighting Property

Enable gradient based lighting (computed on the GPU).

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SoSFBool lighting { get; }

Property Value

Type: SoSFBool
Remarks

Default is false. Gradient based lighting is computed using the direction and magnitude of gradient vectors computed from the data values in place of "normal vectors" in the lighting equation. A gradient vector is computed for each sample point along the rays cast through the volume.

VolumeViz also supports screen space lighting (see the OIV.VolumeViz.Nodes.SoVolumeRenderingQuality.deferredLighting field).

Notes:

LIMITATIONS

See Also