Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Static Properties

Property

Description

indirectScaleAllows for scaling the contribution coming from real-time & baked lightmaps.
isConvergedIs precomputed Enlighten Realtime Global Illumination output converged?
materialUpdateTimeSliceThe number of milliseconds that can be spent on material updates.
synchronousModeWhen enabled, new dynamic Global Illumination output is shown in each frame.
updateThresholdDetermines the percentage change in lighting intensity that triggers Unity to recalculate the real-time lightmap.

Static Methods

Method

Description

SetEmissiveAllows to set an emissive color for a given renderer quickly, without the need to render the emissive input for the entire system.
SetEnvironmentDataAllows overriding the distant environment lighting for Enlighten Realtime Global Illumination, without changing the Skybox Material.
UpdateEnvironmentSchedules an update of the environment cubemap.