Render distance performance-oriented
tkbstudios opened this issue · comments
TKB Studios commented
Hello, I am working on project TI-TREK, which is essentially a space game, I have a map full with planets, around 8K objects, I've implemented render distance using: camera.clip_plane_far = 2000
which displays around 5 planets but it lags very bad and it shows 60FPS.. any way to optimize it?
Petter Amland commented
You should not have a lot of visible entities, only a few. 8K is way too many. You should merge the models together so the can get rendered in one (or a few) draw calls instead of 8000. It's also a possibility you're CPU-bound and not GPU-bound.