minicraft-plus-revived icon indicating copy to clipboard operation
minicraft-plus-revived copied to clipboard

FPS dropping near lava

Open Tokarif opened this issue 9 months ago • 3 comments

Describe the bug When I approach lava my FPS are dropping drastically until game is almost unplayable.

To Reproduce Steps to reproduce the behavior:

  1. Go to a lava lake
  2. 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 Capture d'écran 2024-05-01 011305

Same world, same level, but in the middle of the lava lake : 5 FPS Capture d'écran 2024-05-01 011343

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.

Tokarif avatar Apr 30 '24 23:04 Tokarif

It would appear that this bug was fixed for Water tiles but someone forgot to fix Lava tiles too

Litorom avatar May 01 '24 00:05 Litorom

After my testing, I spotted out that the issue is related to light rendering.

BenCheung0422 avatar May 01 '24 03:05 BenCheung0422

The number of lighting circles can go over 700, so it is a quite tricky issue to resolve.

BenCheung0422 avatar May 01 '24 04:05 BenCheung0422