# enlightenVertexStream

> Vertex attributes that override the primary mesh when the MeshRenderer uses lightmaps in the Realtime Global Illumination system.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Deprecated.** Enlighten realtime Global Illumination is deprecated and will be removed in a future release. #from(6000.7)

```csharp
public Mesh enlightenVertexStream { get; set; }
```

### Remarks

This vertex stream is used exclusively for UVs for real-time lightmaps.

When Unity renders a `MeshRenderer` that uses real-time lightmaps, Unity streams the data in `MeshRenderer.enlightenVertexStream` to `TEXCOORD2` instead of the data in [Mesh.uv3](/engine/6000.7/script-reference/unityengine/mesh/uv3.md)]. For more information, see [Lightmap UVs](/engine/6000.7/manual/lighting-overview/direct-and-indirect-lighting/lightmapping/lighting-gi-uvs.md).

This data is not serialized. Unity calculates the UVs for the Realtime Global Illumination system during the precompute stage.
