Challenge - Configure Occlusion Culling

Tutorial

·

intermediate

·

+10XP

·

15 mins

·

(28)

Unity Technologies

Challenge - Configure Occlusion Culling

In this tutorial, you will learn how to improve the performance of the project by using Occlusion Culling.

1. Use the Profiler to identify a GPU bound issue

1. Open the Profiler in Unity, by going to Window > Analysis > Profiler.

2. Play the game and observe the performance profile

3. Use the Rendering Profiler and the GPU Profiler to identify areas for optimization

77a1f19d-23b7-48b2-a9db-896be4a3f8a9_image2.png

4. Record the profile data to use as a baseline (never optimize without a baseline)

2. Configure Static Batching and Occlusion Culling

1. Mark stationary objects as Occluder and Occludee Static (note objects may be occluder and occludee static already if you configure the static setting to everything in the previous step)

aca7de73-3957-4683-8311-b940064de0c8_image8.png

2. Use the Occlusion Culling window to configure Occlusion Culling

dd83085c-1156-4a02-9c78-bc86ea6fc4a6_image11.png

3. Preview the results in the scene

6161592c-16ef-462f-9a1f-cea8b07800c5_image1.gif

3. Use the Profiler to analyze the results

1. Open the Profiler in Unity

2. Play the game and observe the performance profile

3. Compare to your benchmark

a0b0d7d2-b140-4448-941e-1d62c9e59d97_image9.png

Complete this tutorial