Answer the question
In order to leave comments, you need to log in
Do you use occlusion culling?
A friend told me that if there are few objects (or they are not heavy), then this can affect performance, because. Unity Raycast-it every object. Is it so?
Answer the question
In order to leave comments, you need to log in
If there are few objects on the scene, then there is little practical sense from occlusion culling either. If it's not, then you'll get a nice performance boost. As for raycasting, occlusion culling can be used if the objects in the background are definitely not the raycast target. If there is no such confidence, you should not use occlusion culling. In this case, it makes sense to get rid of raycasts in favor of less loaded solutions. raycasts themselves also carry a considerable load.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question