unity-game-engineurp

URP unity2d How to set order in layer


I can't figure out how the order in the layer in the URP works. I see the Light order option but it doesn't work the way i want. For example, i need to impose light on wall

enter image description here


Solution

  • Your have to make entries in layers and add Sorting Group to UI element.

    Sorting Group

    Layers