Search Unity

Disable depth texture completely

Discussion in 'Universal Render Pipeline' started by o1o101, Dec 14, 2019.

  1. o1o101

    o1o101

    Joined:
    Jan 19, 2014
    Posts:
    639
    Hi,

    A couple questions - Is it possible to completely disable the depth texture in URP?
    Ticking "disable depth and stencil" in player settings breaks the UI mask component?

    Does the UI mask rely on the depth, AFAIK it only needs stencil, so I want to disable Depth, and keep Stencil for the UI mask.

    Cheers