---
title: lightCubeMap
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlphotometriclight/lightcubemap
---

# lightCubeMap

A cube map texture describing the light’s intensity in all directions.

## Declaration

```swift
var lightCubeMap: MDLTexture? { get }
```

## Discussion

Discussion Use the generateSphericalHarmonics(fromLight:) method to create a cube map texture based on the light’s photometry data, then use this property to access the resulting texture. 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.

## See Also

### Interpreting the Light Web as a Cube Texture

- [generateCubemap(fromLight:)](modelio/mdlphotometriclight/generatecubemap(fromlight:).md)
