So basically i have an environment with many (more than 1x10^23) objects and it takes forever to render…is there a way i can keep so many objects and make it render quickly? thanks
That’s a lot… Err no I would say. There are things like occlusion culling, LOD levels etc if you have Pro. Clipping planes on the camera. But no - not much will help with that many objects.
You definitely can’t handle so many objects! If each object occupied a single byte, you would need about 10^14 gigabytes just to store them… but you couldn’t see the objects anyway, since even a big 2560x2048 display has only about 5 mega pixels! You should handle only the objects you can see - maybe the 1000 objects nearest to the camera, or even less. Study the spatial distribution of the objects, and create only the necessary ones. If the objects may be destroyed and replaced by others, don’t actually use Destroy and Instantiate: just set a “destroyed” object’s position and rotation to the position and rotation of the “new” object - recycling is a must nowadays!