# DynamicGI

> Allows to control the dynamic Global Illumination.

## Definition

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

```csharp
public sealed class DynamicGI
```

## Remarks

Additional Resources: [RendererExtensions.UpdateGIMaterials](/engine/6000.0/script-reference/unityengine/rendererextensions/updategimaterials.md), [TerrainExtensions.UpdateGIMaterials](/engine/6000.0/script-reference/unityengine/terrainextensions/updategimaterials.md).

## Static Properties

| Property                                                                                                    | Description                                                                                                       |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| [indirectScale](/engine/6000.0/script-reference/unityengine/dynamicgi/indirectscale.md)                     | Allows for scaling the contribution coming from real-time & baked lightmaps.                                      |
| [isConverged](/engine/6000.0/script-reference/unityengine/dynamicgi/isconverged.md)                         | Is precomputed Enlighten Realtime Global Illumination output converged?                                           |
| [materialUpdateTimeSlice](/engine/6000.0/script-reference/unityengine/dynamicgi/materialupdatetimeslice.md) | The number of milliseconds that can be spent on material updates.                                                 |
| [synchronousMode](/engine/6000.0/script-reference/unityengine/dynamicgi/synchronousmode.md)                 | When enabled, new dynamic Global Illumination output is shown in each frame.                                      |
| [updateThreshold](/engine/6000.0/script-reference/unityengine/dynamicgi/updatethreshold.md)                 | Determines the percentage change in lighting intensity that triggers Unity to recalculate the real-time lightmap. |

## Static Methods

| Method                                                                                            | Description                                                                                                                          |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| [SetEmissive](/engine/6000.0/script-reference/unityengine/dynamicgi/setemissive.md)               | Allows to set an emissive color for a given renderer quickly, without the need to render the emissive input for the entire system.   |
| [SetEnvironmentData](/engine/6000.0/script-reference/unityengine/dynamicgi/setenvironmentdata.md) | Allows overriding the distant environment lighting for Enlighten Realtime Global Illumination, without changing the Skybox Material. |
| [UpdateEnvironment](/engine/6000.0/script-reference/unityengine/dynamicgi/updateenvironment.md)   | Schedules an update of the environment cubemap.                                                                                      |
