What Is Occlusion Culling In Unity?

Liberty Depriest
2 min readSep 4, 2022

--

Goal: understand how occlusion culling helps performance in Unity

Occlusion culling is rendering only what the camera sees instead of the entire game. You can imagine how this would help performance, especially in our highly detailed and high-poly count sci-fi scene.

To enable this, first, let’s turn everything in our scene to be static. We get the floors, walls, extras, and ceilings to become static. We enable both occluder and occludee static.

Then let’s open the occlusion culling window:

Go to the Bake tab and leave the default values:

And hit Bake at the bottom:

Now to see this in real time, we select our main camera and move or rotate it throughout the scene, and we can see just what objects are necessary to exist for our field of view:

And that’s about it! Thanks for reading, and hope this was helpful! Have a great game-dev day!

--

--