I’ve set RGI and set up a sphere with realtime yellow emission (highlighted in the screenshot), baked the scene (everything else is static except the yellow sphere), after the baking is done I don’t see the emission effect on the surrounding. It’s only when I set the yellow sphere to static the emission is being baked into the surrounding, but then it isn’t realtime, the emission is not being updated with the sphere movement. Am I missing something, or is this a bug?
Enlighten GI requires you to bake the data, meaning you can’t have fully dynamic objects emitting color to GI.
What does differentiate this from fully baked GI is that you can adjust the light/emission values in real-time, like change light color, change it’s intensity / disable it, the objects that do this just have to be static in scene.
Alright, that makes sense… lightmaps effect static objects only, I guess I got confused by the name and by this video over here (
https://www.youtube.com/watch?v=QNXbAUKkbEc
), where he moves a yellow sphere with the same setup that I have and it illuminates the environment in realtime (also Unity’s doc about Realtime GI didn’t mention that it is for and by static objects only).
But, ok, I got the yellow emission light baked into the lightmap (it’s a faint yellow in the screenshot around the blue sphere)… so now when I change the emission color to blue during runtime, the emission light stays yellow… so realtime GI should change the emission color on the walls right? Well It doesn’t, unless I misunderstood something again (everything in the scene is static).
It does update the values in realtime if you just change them in editor but if you want runtime changes through your own scripting, then you have to call their API to update the GI manually after you change the other values.
That’s cool. Thanks!