Simple mask lights performance issues on Android
-
Hello Everyone,
I need help improving the performance of simple spot ligths that I'm using on my game. The spotligths works fine on Flash and Windows but my game is mobile and it is too slow on that target. I'm testing on a nexus 6p so the device is not slow.
This is a project with the demo of the ligths I'm making. They are not too complex, only a sprite covering the screen with a multiply blend and the ligths are stamping over it with an screen blend.
https://dl.dropboxusercontent.com/u/24695185/testLight.rar
Is there a better way to do these simple spotligths?
-
Would something like this suffice:
-
Thanks for you answer but I already tested it and It has almost the same code as my example. It doesn't work better. :(