The Importance of Occlusion Culling

Jack Leavey
Feb 1, 2022

Occlusion culling is the process of separating and not rendering objects outside of the players’ view. This practice is a must have for large or graphically enhanced titles, as it allows for higher visual fidelity without sacrificing performance.

Unity provides a built in occlusion system. Occlusion can only be used on objects that are considered static (or are tagged as such).

The Player’s view is unaffected.
Culling gameobjects outside of the player’s view.

First I took all my static objects and tagged them as everything EXCEPT “Contribute GI”

Next I opened up the Occlusion Window for Unity (Window > Rendering > Occlusion Culling).

Bake at the bottom.

Finally, go the the visualization tab in the Occlusion window and check your camera!

Realtime Occlusion Culling

--

--

Jack Leavey

I am a software engineer with years of experience branching into game development, specifically in Unity. Follow along for guides on creating game mechanics!