Skip to content

CVR GI Material Updater

Calls Renderer.UpdateGIMaterials on the same GameObject’s Renderer when Update Every Frame is enabled. A Renderer is required on the same GameObject ([RequireComponent]).

Useful for realtime global illumination on emissive objects whose material emission values change at runtime — without this call, Unity’s GI system does not pick up the change.

When enabled, UpdateGIMaterials is invoked every Update. Leave disabled if you do not need continuous refresh.

  • CVR-GameFiles/ABI.CCK.Components/CVRGIMaterialUpdater.cs