for large scenes is there a way to only bake the lighting of certain areas? say i have some bake areas that are good but i need to fix other areas, and i dont want to rebake all areas
I’d try to load scene additively, and have baked lighting only in the first scene.
To do that, add the two 2 scenes into Build Settings, and create a script with
SceneManager.LoadScene("MyScene", LoadSceneMode.Additive);
in Awake(), where “MyScene” is name of second scene you want to load (the one without baked lights)
Another way is to select model’s game object you want to exclude from baking > click checkbox in inspector’s top right corner > click arrow next to “Static” > uncheck “Static for baked lights” (or similar).
yeah because of the way lightmap packing works the only real solution is to have separate scenes.
Can you just deactivate 3/4 of the scene then bake the parts that need to be worked on then once looking good deactivate and then move to the other parts activate them, bake and so on. Then when ready for the final bake turn on everything in the scene and do a final bake?
I mean i guess you could, but it would be more efficient to use multiple scenes simultaneously.
You can load all the scenes at once and work on them at the same time and bake them only as needed.
The issue with disabling objects is the lightmap packing would change every bake meaning the final results would look different.