What Is Occlusion Culling In Unity?

Occlusion Culling is a method to significantly reduce the processing power required to render a scene for a user, by only rendering required parts of the scene at runtime.

Preparing for Occlusion Culling:

In order to prepare a scene to use Occlusion Culling, you must go through all the objects in your scene and decide if they are:

  • An Occludee: A static object that could be hidden behind other objects.
  • Neither: An object that, for any number of reasons, should not affect OC.
If it‘ i’s an Occluder, tick Occluder Static, and vice-versa for an Occludee. If both, tick both, and if neither, tick neither. Pretty straight-forward.
I am using URP, so my camera component looks a bit different compared to other pipelines.

Generating the Occlusion Culling Information:

After your scene is set up, we must move on to baking the OC data (yes, just like you would bake lighting data).

--

--

Unity game developer / C# Programmer / Gamer. Australian (Tasmanian) indie games developer for 10+ years. Currently looking for games industry employment.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vincent Taylor

Unity game developer / C# Programmer / Gamer. Australian (Tasmanian) indie games developer for 10+ years. Currently looking for games industry employment.