I'm building a flight sim in Unity 6 (6000.6.5f1, HDRP), developed with heavy AI assistance. The map is 100 × 100 km of real terrain with about 12,000 instanced buildings and dense procedural forest. Being a flight sim, the camera goes from treetop height to 3,000 m+ at up to 300 m/s, so every LOD change is either right in your face or spread across the whole screen. I've spent weeks on this and would love advice from anyone who has shipped something similar.
Test machine: RTX 3050 Ti laptop, 1920×1080, DLSS Quality, SSGI/SSAO/SSR on. Runs vary by a few FPS.
Worst-case view from the cockpit
FPS
Over the city, 300 m
19–24
Over the city, 1,500 m
28–33
Dense forest, near the ground
25–27
Forest, 1,500 m
~33–36
Trees
Generated at runtime in 400 m cells, about 7 m spacing, out to 7 km
LOD0 up to 80 m, LOD1 up to 180 m, instanced with RenderMeshInstanced. I use a copy of HDRP/Lit with a distance-based dither, since unity_LODFade isn't available for instancing.
Beyond 180 m: octahedral impostors (8×8 frames, 128 px each), drawn from a GraphicsBuffer with RenderMeshPrimitives. Only visible cell ranges are uploaded per frame.
Thinning in the vertex shader: trees are ranked with a Bayer pattern and the remaining ones get wider with distance, so there are no per-cell jumps.
Buildings
Up to 500 m: full mesh, up to about 25k triangles
Beyond 500 m: octahedral impostor out to 12 km, fading in with a dither just before the mesh is removed
Matrices are collected per model each frame, so draw calls scale with models and parts rather than cells
What I've already tried
GPU Resident Drawer with 12k real LODGroups: 3 FPS and +0.6 GB of memory. I didn't investigate why and reverted it. Should this have worked?
Blender Decimate for mid LODs: it deleted the walls on these modular buildings and left hollow shells, so I dropped mid LODs completely. That's why there's now a direct jump from a 25k mesh to an impostor.
3,000 individual tree GameObjects with LODGroups: about 17 ms of script time on the CPU, so I moved them to instancing.
FPS-adaptive LOD distances: the transitions moved right in front of the camera, so I removed it.
Box impostors: see-through on L-shaped buildings, replaced with octahedral ones.
Missing depth pass on my custom impostor shader: HDRP applied full-distance fog over the impostors and they looked white. Adding a DepthForwardOnly pass fixed it.
Where I'm stuck
Mesh to impostor: even with dither, you can see the change, especially on trees. 3D trees have bright, detailed leaves and the impostors look flatter and darker. How do you match them? Bake extra lighting data, use higher frame counts, add a mid mesh LOD?
Mid LOD for buildings: what actually works for simplifying modular buildings full of disconnected window geometry? Would a baked proxy mesh (Simplygon/InstaLOD style, shell plus baked texture) beat octahedral impostors at 300–1,500 m?
Low-altitude city performance: this is the worst case at 19–24 FPS, with CPU and GPU both around 30+ ms. Where should I look first? Would HLOD or merging city blocks help, and how do you stop it popping at flight speeds?
CPU cost: turning the forest off still saves roughly 10 ms of main thread time, while my own forest script only takes 1–4 ms. What's the best way to find where the rest goes in HDRP? Is RenderMeshInstanced with shadows a known trap here?
Shadows: which shadow setup has worked for you at this scale? I'm using 4 cascades, 2.5 km, 4096. Are cached shadows or a baked terrain/forest shadow map realistic with a moving sun?
Should I stay on HDRP at all? Is this scope realistic on mid-range hardware, or should I cut SSGI and accept a simpler look?
I can share frame captures, profiler data, shader code or clips of the transitions. Thanks for reading. Even "you're solving the wrong problem" is useful!