SceneKit renders shadows by projecting the light’s
gobo image. The light does not illuminate the scene.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Typically, you use this mode to create a low-accuracy, high-performance shadow under a game character or similar scene element: Use an image of a radial gradient (black to white) for the light’s
gobo property, and use
category properties to prevent the shadow image from appearing on the character.