SoShadowGroupvisibilityRadius Property |
Shadows are only computed within "visibility radius" distance from the camera position.
Namespace: OIV.Inventor.Nodes
This radius equals:
the longest edge of the bounding box of the scene multiplied by OIV.Inventor.Nodes.SoShadowGroup.m_visibilityRadius if OIV.Inventor.Nodes.SoShadowGroup.m_visibilityFlag equals OIV.Inventor.Nodes.SoShadowGroup.VisibilityFlags.LONGEST_BBOX_EDGE_FACTOR.
OIV.Inventor.Nodes.SoShadowGroup.m_visibilityRadius if OIV.Inventor.Nodes.SoShadowGroup.m_visibilityFlag equals OIV.Inventor.Nodes.SoShadowGroup.VisibilityFlags.ABSOLUTE_RADIUS.
When OIV.Inventor.Nodes.SoShadowGroup.m_visibilityRadius = 1 and OIV.Inventor.Nodes.SoShadowGroup.m_visibilityFlag = OIV.Inventor.Nodes.SoShadowGroup.VisibilityFlags.LONGEST_BBOX_EDGE_FACTOR (default values), shadowing is computed throughout the entire scene.
Note: With VARIANCE_SHADOW_MAP method, try to increase the OIV.Inventor.Nodes.SoShadowGroup.m_quality field first.