Working on making Blox Survival way faster - and I’m getting great results! I started by majorly refactoring terrain generation to be per-chunk rather than per-column, which means I no longer have to generate the entire underground area when I’m at the surface. Secondly, I’ve worked on hugely optimising chunk loading. Previously, for an area of about 1089 chunks, it would take about 332 seconds to fully load. Now, for a larger area of 1210 chunks, it takes 57 seconds to load. Look at this zoomy boi:
Finally, I got around to trying some super simple greedy meshing. Here is my 1D greedy meshing turned on:
And regular rendering (i.e. turned off)
Greedy meshing seems to make rendering go faster, which I suspect is down to the same reasons that instance pooling would make rendering go faster; reusing instances seems to be much more lightweight than creating them