- Home /
Lighting scene during time, RealTimeGI
Hello I want to ask whether it is possible lighting scene during time ... I mean if the object becomes static during gameplay, will start lighting scene. Thanks for reply
Can you be more specific? What do you mean by lighting when static?
Ok, in real time GI you can lighting scene the statics objects. But if i add static object during time to scene, i want again lighting scene... not only in editor. I want to know if is possible lighting scene during time? simple
I mean like this, build lighting scene in play mode. There is script or settings?
I think what he's asking is if it's possible to build lighting in-game. So he wants to use baked lightmaps, and when something changes in the game, rebuild lighting so that the lightmaps are updated.
As TheDiamondPlay said, you can't do that. What I did find though, is that you can bake multiple lightmaps and switch between them in game. I haven't tested it myself.
http://wiki.unity3d.com/index.php/Light$$anonymous$$apSwitcher
Answer by AurimasBlazulionis · Feb 22, 2017 at 12:01 PM
No, you can not do that in the current versions of unity by default. That is because it is a very computationally expensive task.
Answer by Dyonisian · Feb 22, 2017 at 02:41 PM
As TheDiamondPlay said, you can't do that. What I did find though, is that you can bake multiple lightmaps and switch between them in game. I haven't tested it myself.