Search Unity

Question Problem with transparent materials URP

Discussion in 'Universal Render Pipeline' started by AugmentCanis, Sep 15, 2022.

  1. AugmentCanis

    AugmentCanis

    Joined:
    Jun 30, 2019
    Posts:
    4
    Hello!

    I'm making an Android game and I have a problem with transparent materials in URP (using URP lit shader for example). They don't render properly from some angles (different every time). Here I found an angle at which it doesn't render properly.
    View attachment 1118897

    My quick fix is to put the priority on the material to 1 and it renders as a whole, but the problem is that it renders even the part of the object that is underground.
    View attachment 1118894

    This is how the material is set up so far:
    View attachment 1118903

    If anyone could help with this, it would be highly appreciated!
     
  2. ElliotB

    ElliotB

    Joined:
    Aug 11, 2013
    Posts:
    284
    (For some reason, the forum says I don't have permission to view your attachments!)
     
  3. AugmentCanis

    AugmentCanis

    Joined:
    Jun 30, 2019
    Posts:
    4
  4. AugmentCanis

    AugmentCanis

    Joined:
    Jun 30, 2019
    Posts:
    4
    Found the problem in the end. It had to do with one of the custom shaders I made.
    The transparent one was fine, but the ground material's shader was the problematic one.