Challenge: Bake the scene’s lighting

Tutorial

·

intermediate

·

+0XP

·

15 mins

·

Unity Technologies

Challenge: Bake the scene’s lighting

In this challenge, you will bake the scene’s lighting to enhance the lighting quality.

Languages available:

1. Baked lighting setup

1. Mark all stationary objects as static in the scene, make the child GameObjects static when prompted to.

Select “Yes, change children” when prompted to enable static flags for all the child objects as well

Select “Yes, change children” when prompted to enable static flags for all the child objects as well

2. Change the Spot Lights to Baked

Select the Spot Light GameObjects holding control or command to multi select

Select the Spot Light GameObjects holding control or command to multi select

In the Light component change the Mode from Realtime to Baked

In the Light component change the Mode from Realtime to Baked

3. Repeat for all lights in the scene

  • Pro Tip: Use the Light Explorer window (Window > Rendering > Light Explorer) to quickly locate and modify lights in the scene
Use the Light Explorer to quickly change scene lights from real-time to baked

Use the Light Explorer to quickly change scene lights from real-time to baked

2. Configure baked lighting

Use the Lighting Settings to configure Baked lighting in the scene

Use the Lighting Settings to configure Baked lighting in the scene

1. Open the Lighting Window (Window > Rendering > Lighting Settings)

2. Enable Baked Global Illumination

3. Change Lighting Mode to Baked Indirect for the best light baking results

4. Pro Tip: set the Direct Samples, Indirect Samples, and Environment Samples to their minimum values so the light bakes quickly while you are developing. After you have the scene setup the way you like, you can boost the numbers to enhance the overall look of the light baking.

Complete this tutorial