I started a new project recently and I’m using unity’s terrain tool and adding more planes to make it larger. I went from having 400fps at 5 planes to 80fps at around 40 or so planes. Is there a way to recude this lag? Or do I just have to hope that when I add lod’s for all my game objects that it’ll fix it?
You can try enabling instancing on all the Terrain objects. The toggle for this is called “Draw Instanced” in the Settings tab for each Terrain:
Set it to true and you should get some performance back if it isn’t already enabled
I read that somewhere after posting and actually suffered a 20fps loss weirdly enough. Doing lod’s for the smaller houses in the scene gave me a 20fps boost, but that’s not enough considering I need the terrain to be about 4x this size. If you have any more advice I’d love to hear it! But regardless thank you so much for taking the time out of your day to help, I genuinely appreciate it!!!
Dont forget about Occlusion Culling…and be careful with LODS, not every object will benefit from LODS. Are you using Static Batching on textures?, How about MipMap support?
This comes down to optimization…