Terrible Android 2D Light node performance!

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By cenuh

Hello!

My android game runs with 60fps smooth on my smartphone.
Then I add a single 2D Lightnode with a little 100x100px light texture.
FPS from 60 to —> 20-30 ?!
:frowning: Why? I tried a lot of different settings but as soon as I add this simple light node it completly destroys the performance… is there anything I can do??

:bust_in_silhouette: Reply From: supper_raptor

Use sprites instead of light 2d

:bust_in_silhouette: Reply From: Calinou

This is a known issue, see issues #9944 and #23593 on GitHub. This will most likely be resolved in Godot 4.0 with the Vulkan renderer, but using the Vulkan renderer on Android will restrict your game to devices that support it.