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?
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!