- Home /
How to optimize the lighting in Android for best performance?
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 :/
Answer by bolkay · Sep 16, 2017 at 05:52 AM
Bake the light and use a smaller resolution.
Thanks for the reply! Would you be able to tell me or point me to a tutorial on how I do that?
Your answer
Follow this Question
Related Questions
Light2D not showing on mobile 1 Answer
How can I achieve this particular 2D lighting effect? 2 Answers
Light and 2D Sprite overlapping issue 1 Answer