Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Preview baked lighting

Edit a scene and preview changes to lightmaps and lighting without affecting the baked lightmaps.
Read time 1 minuteLast updated a month ago

You can edit a scene and preview changes to lightmaps and lighting without affecting the baked lightmaps.
Note
The Unity Compute Light Baker doesn't support interactive lightmap preview. If your project uses that backend, Unity generates the preview with the OpenCL based GPU lightmapper instead, so the preview might not match the result of a full bake.
To preview, do the following in a scene that uses lightmapping:
  1. In the Scene view View Options toolbar, select Debug Draw Mode.
  2. Select a Global Illumination Draw Mode.
  3. In the Lighting Visualization overlay, set Lighting Data to Preview.
  4. Make changes to the scene that affect lightmaps.
Unity creates temporary lightmaps and uses them in the Scene view. To check the temporary lightmaps, go to the Lighting window and select Baked Lightmaps.
To use the baked lightmaps without your changes, set Lighting Data to Baked.