The orthographic scale SceneKit uses when rendering the shadow map for a directional light.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
SceneKit draws a shadow map image by rendering the scene from the point of view of the node containing the light. Directional lights ignore the
position property of the node containing them because their light has a constant direction. Therefore, rendering a shadow map for a directional light requires an orthographic projection. Like the
orthographic property of a camera object, this property specifies the extent of the scene “visible to” the light when rendering the shadow map.