DynamicGI
Allows to control the dynamic Global Illumination.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public sealed class DynamicGI
Remarks
Additional Resources: RendererExtensions.UpdateGIMaterials, TerrainExtensions.UpdateGIMaterials.
Static Properties
Property | Description |
|---|---|
| indirectScale | Allows for scaling the contribution coming from real-time & baked lightmaps. |
| isConverged | Is precomputed Enlighten Realtime Global Illumination output converged? |
| materialUpdateTimeSlice | The number of milliseconds that can be spent on material updates. |
| synchronousMode | When enabled, new dynamic Global Illumination output is shown in each frame. |
| updateThreshold | Determines the percentage change in lighting intensity that triggers Unity to recalculate the real-time lightmap. |
Static Methods
Method | Description |
|---|---|
| SetEmissive | Allows to set an emissive color for a given renderer quickly, without the need to render the emissive input for the entire system. |
| SetEnvironmentData | Allows overriding the distant environment lighting for Enlighten Realtime Global Illumination, without changing the Skybox Material. |
| UpdateEnvironment | Schedules an update of the environment cubemap. |