Occlusion Culling API?

For optimalisation purposes i’d like to disable objects when they are culled, though OnBecameVisible and OnBecameInvisible seem to be triggered only with Frustrum Culling, not Occlusion Culling.

Is there a way to sample the occlusion system to know if an object is culled?

1 Like

I’ve hacked around it for now, it seems that OnWillRenderObject is affected by occlusion culling. Though a cleaner solution would be very much appreciated!

2 Likes

For our purpose, we would need to modify occlusion data (remove some static objects around camera from occlusion), so OC API would be great.

Please look at the dates of posts before posting.This is an 8 year old necropost. Feel free to create your own threads to discuss your needs.

Community Code of Conduct (1i).