afonsolage / projekto

Voxel game made with Bevy Engine
MIT License
59 stars 4 forks source link

Low FPS #23

Closed afonsolage closed 2 years ago

afonsolage commented 2 years ago

Even when running on release mode, the FPS is around 30 with HORIZONTAL_RADIUS = 16. There are a lot of optimizations still to be done, like frustum culling or LOD, but there are also a lot of things to add, like textures, ambient occlusion, trees, objects, interfaces and so on.

IMO with bare-bones like that, the FPS should be something above 120, to say the least.

afonsolage commented 2 years ago

Running in debug mode with HORIZONTAL_RADIUS = 0, which just spawns 1 chunk, still makes the FPS runs at ~35, so probably there is a system eating all frame time.

afonsolage commented 2 years ago

This seems to be a problem with my setup. After some tests, running on my laptop without any external monitor, the game on debug mode runs at ~120 fps, which is fine ATM.