- Home /
I'm experiencing a weird effect with my 2D light. Any fix?
In my 2D game I have made a floor with using a grid. I have added a material to each tile and have a point light to try and light it up. When ever I do this, experience this weird effect where the edges of the grid lights up differently than the rest of the sprites....
Does anybody know how to avoid this?
This is what the floor looks like. The weird stripes going down are where the sprites meet.
Answer by sadzanenyama · Apr 18, 2019 at 03:31 PM
This is happening because your sprites are overlapping slightly and so are getting "lit" twice by the light source causing those bright white lines. Try changing the order in layer of the surrounding sprites to different numbers. Should fix your problem
Your answer
Follow this Question
Related Questions
2D solarsystem lighting 0 Answers
2D sprite lighting issue in 3D space 0 Answers
Normal map on 2D sprite screwed it up.,Applying material with normal map on 2D sprite screwed it up. 2 Answers
Dynamic spritemask from worldpoints? 0 Answers
Normal map partially visible through another sprite,2D Normal map causing partial transparency 2 Answers