real-time light baking when adding objects

I have a scene with dynamically changing lighting, so that it is clear what I am talking about, I will describe - there are 24 phases of lighting, equal to 24 hours of the day, in each hour the direction and intensity of the light changes, which creates the effect of changing day and night, I refused a smooth change so 24 phases will be fixed.

as I understand it, you can bake 24 maps for static objects and use them when needed.
(correct me if I’m wrong as I’m only learning about light)

but I can also add static objects during the game, for example, a house is built, then of course it will not go anywhere, so it can be baked.

the question is how to bake it? rebake the entire light map? Or how is it done right?

Hi, Unity’s lightmap baking cannot be done in Unity Player.

Yes, you can try baking more lightmaps and switch them at runtime. There’re some threads on the GI sub-forum about this so maybe you can refer to them.

1 Like

I just noticed that there is a sub-forum regarding lighting.

1 Like