- Home /
Lighting in Unity2D looking different on phone than in editor
I am working on a little mobile game in Unity in 2D. I want the player to be a light source and everything else to be dark, so I gave "everything else" the sprites/diffuse material. This works extremely well in the editor/Game view in Unity, but when I build to my Android phone it looks weird. See the pictures. Any ideas?
Currently I am using the realtime rendering mode for the light, I know it is not efficient, but that's a problem for later. I looked into baked lighting, but I spawn the rooms random and dynamically so I am not sure how to proceed there.
I can find very little information about lighting in 2D mobile games in Unity, not sure how to proceed, it is all very confusing.
I hope someone here can at least help make the lighting look the same on the phone as in the editor/game view in Unity.
This is the game view in Unity
Thank you very, very much in advance! :)
Your answer
Follow this Question
Related Questions
Echolocation in 2D top down game 0 Answers
Create an invisible area behind 2D objects. 2 Answers
2D Light question 1 Answer
Unity 2D Lighting Effect 1 Answer