- Home /
Frustum culling question
Is it possible to cull some objects at a closer distance than others? Say remove for example buildings etc. at a shorter distance than culling the terrain and trees for example?
Answer by Baste · Jan 15, 2015 at 05:04 PM
From the manual on the camera:
"For performance reasons, you might want to cull small objects earlier. For example, small rocks and debris could be made invisible at much smaller distance than large buildings. To do that, put small objects into a separate layer and setup per-layer cull distances using Camera.layerCullDistances script function."
Your answer
![](https://koobas.hobune.stream/wayback/20220613180506im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using GeometryUtility.TestPlanesAABB to test if object is in view 0 Answers
Changing two different objects renderer colour 1 Answer
Screen position out of view frustum error, cannot solve? 1 Answer
Why does my materials get destroyed on some persistant objects ? 2 Answers
Is there any command that can reference deactivated objects? 1 Answer