How to get 2D lighting behind and in front of certain objects in Unity 2D

32 Views Asked by At

Hello guys I have an Universal renderer pipeline asset installed in my Unity editor, the problem that I am facing is I want to get that 2D lightning in front of and behind certain objects.

I have tried several solutions including changing Z position of objects and even tried sorting order but nothing has been working out, the lightning always gets behind objects and it does not come in front of them.

0

There are 0 best solutions below