I have a bright object that is emitting light as Realtime GI.
But then I now change the Color of the Emission at Runtime the GI color doesn’t switch it turns off completely.
I use this to change the Emission color:
mat.SetColor(“_EmissionColor”, Color.White);
The strange thing is that I can change the color with the editor at runtime and the GI updates as well.
But it doesn’t update the GI then it’s controlled with the Script.
Is there anything I need to do to make the GI update at runtime?