Search Unity

URP 'Transparency Sort Mode' problem with vertex position shader graph

Discussion in 'Universal Render Pipeline' started by Ularis, Apr 20, 2022.

  1. Ularis

    Ularis

    Joined:
    Dec 22, 2019
    Posts:
    23
    So, I have this shader to animate 2D trees which kind of works, except for the fact that some trees get sorted by vertical transparency making them animate uncontrollably as seen in the video below:



    If I set the vertical sorting to zero, it works perfectly, but I need the sorting active:
    upload_2022-4-20_16-58-3.png

    Do you have any suggestions in order to solve this issue?
    Thanks.
     
  2. Ularis

    Ularis

    Joined:
    Dec 22, 2019
    Posts:
    23
    Please, let me know if I wasn't clear with the problem's description.

    Thank you.