Hi there,
I am making a 2D dungeon platformer for Android. I want to have torches which emit light, and so I found some tutorials online for adding lighting in the game which affect sprites. I made a Sprites → diffuse material and attached this to the sprites, added point lights, and it looked really good!
Testing the game within Unity was very smooth and it worked really well, however, when I export to Android and test it on my phone I get EXTREME lag, so much I can’t even play it. I have looked online for ways I can optimize the lighting for mobile, but can’t seem to find anything useful. I was wondering what I can do to increase the performance, even if it means taking down the quality of the lights a bit. Thank you so much I have been at this for weeks
Bake the light and use a smaller resolution.