Hi Everyone, how do you control how many objects are rendered by the Main Camera? I want to set it so it only renders gameobjects within a certain distance. How can this be done?
While not a purely distance, you can set the far clip plane for the camera:
http://docs.unity3d.com/Documentation/ScriptReference/Camera-farClipPlane.html
Or just add a script to all the game objects you want to be distance bound. Put something like this in Update():
renderer.enabled = Vector3.Distance(Camera.main.position, transform.position) < someDistance);