Not sure how... but...

how would i change the render distance?

because right now it sort of renders everything even if the camera cant see it, i dont want to disable the not render’d objects just make it so they dont render untill you get close enough…

if possible how would i do this, i googled and searched and all i could find was detail distance not render…

It doesn’t render anything outside the view frustum.

–Eric

Eric is right, nothing gets rendered outside the camera frustum, what leads you to think that it is? Maybe the problem is different to what you think.

Have you definitely tried changing the far clipping plane on your camera?

well for some reason after generating a mass amount of rooms it seems to lag more then when after generating 100 rooms…

100 rooms doesn’t lag at all… 500 rooms still no lag… 1000 rooms starts to lag 2000 almost impossible to move 5000 rooms your frozen for entirety unless alien-ware computer…

If it’s all in front of the camera, then it’s going to render all of it regardless.

You might want to look into occluders or portals, so that Unity can hide things that are hidden from view.

Do the rooms you generate have scripts or other stuff attached to them? if so try disabling them if they are too far away from you, i think that might speed up everything abit.

Note that culling objects to see which are in the view frustum or not isn’t free. 5000 objects is a lot to cull.

–Eric

i found it… “Field of view”

thanks anyway.