Closed XavierCS-dev closed 1 year ago
The issue seems to occur with Batch2D::update(), when pausing the update function, the framerate remains at around 650-670. This is still a low framerate for only drawing two images, however, those other issues can be ironed out later.
The buffer reallocation specifically is causing these issues
This issue is fundamentally unfixable for a raycaster style 2.5D engine. A pivot to full 3d is required if the GPU is to be used.
The continuously dropping framerate is fixed. FPS is now stable at 800-1000 in release, much better, however there are still major engine limitations.
The framerate continuously drops from 500 to around 250 over time with no clear reason. Maximum single core load is 30% which is very high, but it indicates that there is another issue, likely some kind of memory allocation slowing everything down. (Cannot view GPU usage for intel iris xe on linux)