• 2D
  • Why is Light2d on Android so slow?

Hi!

Why is the Light2d so slow on Android? Is that a general problem or am I doing something wrong? If I use just 3 lights (without shadow) the performance goes down! Without shadow lights should be just images with mixmode "add", right? Isn't that hardware accelerated?

If I add just Sprites with blend mode "add" there is no such performance impact. So what is wrong with Light2d? Can somebody explain that?

Thanks and Regards, Daniel

6 days later

That is exactly what I would suggest you to do :D I think only Godot devs can help you with that.

Light2D is slow in android and is slow in desktop system. But in desktop is less noticeable. Simply make a desktop project with a few lights and various mix modes and you should notice that is difficult to mantain 60 fps. Is not problem releated with android, is a problem releated with light2d performance and mix modes.

7 days later

I don't get it why it's so slow. Ok, RandomShaper explained it, but other games/engines/codeexamples/methods are faster (as far as I seen it). But I accept it. I have to :D