laurenth-personal / lightmap-switching-tool

Tool that allows switching different baked lightmap sets on a unity scene at runtime.
MIT License
657 stars 88 forks source link

Can't use the same lighting scene on 2 different static geometry scenes. #2

Open laurenth-personal opened 7 years ago

laurenth-personal commented 7 years ago

The lightmaps will be named after the lighting scenario scene, thus you can't currently use the same lighting scenario on more than one scene. A workaround is to duplicate the lighting scenario and give it a new name, but you can't use lighting scenarios as lighting presets currently.

laurenth-personal commented 3 years ago

Right now the LevelLightmapData is in the geometry scene and it loads lighting data. In order to associate a lighting scene with different geometry scenes there should be a persistent Lighting manager that would store associations of geometry scenes with lighting scenes. This sounds like a bit too much work right now.

laurenth-personal commented 2 years ago

Latest changes allow a new workflow outside of the geometry scene. One can create a lighting scenario data asset in the project, from there type geometry scene name and lighting scene name, then bake from the asset itself. So one can use a lighting scene on 2 different geometry scenes.