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

Static Geometry lightmaps missing #23

Closed Gustorvo closed 5 years ago

Gustorvo commented 5 years ago

In your example project you have StaticGeometry folder with pre-baked maps, but in your instructions you don't mention when I suppsoe to bake the Static Geometry scene. I wasn't able to reproduce map switching becouse I don't know at what step I am suppose to bake the static geometry scene.

laurenth-personal commented 5 years ago

The step that says "One by one, you can now Build the lighting scenario, and when the bake is done Store it. You need to do these steps in the lighting scenario order ( you cannot build and store lighting scenario 2 before lighting scenario 1 )." is the baking part of the instructions. I wrote "Build" but in this case it "bakes" or "generates lighting" as the UI says nowadays in unity

laurenth-personal commented 5 years ago

And by that I mean use the "Build XXX" button and then "Store XXX" button on the LevelLightmapData component

Gustorvo commented 5 years ago

so does the static geometry scene has to be baked sa well?

laurenth-personal commented 5 years ago

Using the build button loads the lighting scene and launches a bake for you