Search Unity

Feedback Please make a sorting order for the distortion layer. (URP2D)

Discussion in '2D' started by Ningu83, Dec 8, 2021.

  1. Ningu83

    Ningu83

    Joined:
    Feb 25, 2017
    Posts:
    9
    Using URP 2D (12.1.1), I can create a 2D distortion shader using [_CameraSortingLayerTexture], but images with this shader do not display overlapping parts properly.

    I hope this problem will be resolved by applying the Order in Layer to the Distortion Sorting Layer (=_CameraSortingLayerTexture's layer).


    화면 캡처 2021-12-09 161607.jpg

    (Circular distortion shader + Water Distortion shader. You can see that the overlapping parts are not drawn properly)
     
    Last edited: Dec 9, 2021