Inspirateur / riverbed

A Minecraft-inspired Bevy game
MIT License
17 stars 0 forks source link

Improve render distance #1

Closed Inspirateur closed 4 months ago

Inspirateur commented 5 months ago

Currently the game runs fine up to render distance 16, but I want to go up to way bigger render distances, like 64. I also want the maximum height to go up to 1024 instead of the current 512, in order to create huge landscapes.

For the game to render way more terrain without lagging, it needs a Level Of Detail (LOD) management system.

The basic principle is that faraway chunks don't need to be displayed in the full resolution of 32x32x32 blocs; 16x16x16 or even 8x8x8 will be enough if the chunk is really far from the camera. This will allow the game to render way less quads, and thus render a bigger terrain faster.

TODO