Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Excluding hidden objects with occlusion culling

Resources about preventing Unity doing rendering calculations for hidden GameObjects.
Read time 1 minuteLast updated 21 days ago

Resources about preventing Unity doing rendering calculations for hidden GameObjects.
Note
If your project uses the Universal Render Pipeline (URP) or the High Definition Render Pipeline (HDRP), you can instead Enable GPU occlusion culling in URP or Enable GPU occlusion culling in HDRP.

Page

Description

Occlusion cullingUnderstand how occlusion culling checks for hidden objects, and when to use it.
Set up a scene for occlusion cullingSet up a scene for occlusion culling, bake occlusion culling data, and check the results.
Set up multiple scenes for occlusion cullingPrepare occlusion culling data differently if you load multiple scenes at a time.
Cull moving GameObjectsEnable or disable Dynamic Occlusion.
Create high-precision occlusion areasUse the Occlusion Area component to define an area where Unity calculates culling more precisely.
Control occlusion in areas with Occlusion PortalsTurn occlusion on and off through an object, for example a door that opens and closes.
Occlusion Culling window referenceExplore the properties and settings in the Occlusion Culling window to customize how culling works.
Configure culling with the CullingGroup APIIntegrate your own systems into Unity's culling and level of detail (LOD) pipelines.
Troubleshooting occlusion cullingSolve common problems when using occlusion culling.

Additional resources