minicraft-plus-revived
minicraft-plus-revived copied to clipboard
FPS dropping near lava
Describe the bug When I approach lava my FPS are dropping drastically until game is almost unplayable.
To Reproduce Steps to reproduce the behavior:
- Go to a lava lake
- See fps dropping
Expected behavior Lava should behave like water... or any other tile. :-)
Screenshots
Lava level on the border of the map 42 FPS
Same world, same level, but in the middle of the lava lake : 5 FPS
Desktop (please complete the following information):
- OS: Windows 11
- Game version 2.2.0-dev7 EDIT : Same issue with version 2.2.0
Additional context The problem ocurs on all of my worlds.
It would appear that this bug was fixed for Water tiles but someone forgot to fix Lava tiles too
After my testing, I spotted out that the issue is related to light rendering.
The number of lighting circles can go over 700, so it is a quite tricky issue to resolve.