If something is outside of the view of the camera, I know it isn’t rendered, but is it still creating draw calls?
I was thinking of disabling objects that are x distance from the player, and then enabling them again when the player gets within a certain distance.
Would that help boost performance or is that kind of overkill if the object is already out of view of the camera frustum?
something thats not rendered doesn’t cause a draw call as draw call = rendering
but keep in mind that out of view means that the whole bounding volume is either behind the cam or left,right,up,down out of view, or in the distance further away than your cam ranges. if it is within the cam range and view rect, then it will be rendered, independent if it is seen or not (unless you use occlusion culling)
Alright, that makes sense. Thanks for clearing that up.
Various techniques and tips for accomplishing what you want were discussed in the Unite 07 performance video found here. It’s been a while, so I can’t quite remember where in the video the topic lies. However, the whole presentation is worth watching.