Generates a cube map texture from the light’s photometry data.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- Model I/O
The size (side length in pixels) of cube map texture to generate.
After generating a texture, use the
light property to access it. In this texture, each texel represents the light’s intensity in the direction from the cube’s center to the texel’s position on the cube.