Bake lighting
Generate lightmaps for your scene.
Read time 1 minuteLast updated a month ago
To generate lightmaps for your Scene:
-
Open the Lighting window (menu: Window > Rendering > Lighting)
-
At the bottom of thetab on the Lighting window, select Generate Lighting.Scene
?
-
A progress bar appears in Unity Editor’s status bar, in the bottom-right corner.
When lightmapping is complete, Unity’s Scene and Game views update automatically and you can view the resulting lightmaps by going to the Baked Lightmaps tab in the Lighting Window.
When you generate lighting, Unity adds Lighting Data Assets, baked lightmaps and Reflection Probes to the Assets folder.
Bake lightmaps automatically
To set Unity to bake lightmaps automatically when you open a scene that has no lighting data, follow these steps:
-
Go to Window > Rendering > Lighting.
-
Set Bake on Scene Load to If Missing Lighting Data.
If you share your project with someone else, you can use this option to reduce the size of your project by not including lighting data. When a scene is opened by someone else, Unity calculates the missing lighting data.