Initializes a light probe with the specified cube map textures.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Model I/O
A cube map texture that contains a rendering of a scene as seen from the light probe’s position.
A cube map texture that contains samples of the total light arriving at the light probe’s position from every direction.
A new light probe object.
You can derive an irradiance map from a reflective texture with methods on the
MDLTexture class, or when creating a light probe with the