Question by
Zyntherius · Apr 12, 2017 at 02:13 PM ·
instantiatelightingplaymodeglobal illumination
Precompute GI in playmode
I'm looking for a solution to precompute global illumination (GI) in Unity 5.6 for a static terrain which will be generated procedually in playmode.
I've got an empty scene (with lighting and skybox only). In this scene a procedual terrain consisting of static 25x25 quad tiles (prefabs) gets generated after entering playmode.
The goal is a RTS like game where you can place buildings. I would like to use GI from the terrain projected on the placed/instanciated (static) objects.
Is there a way to bake GI in a prefab, too? Or to bake/precompute GI in playmode?
Better solutions or suggestions are welcome.
Thanks in advance!
Comment