Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

(Solved) Shadergraph - Depth Test doesn't work as expected

Discussion in 'Universal Render Pipeline' started by Ewanuk, Nov 22, 2021.

  1. Ewanuk

    Ewanuk

    Joined:
    Jul 9, 2011
    Posts:
    257
    This field doesn't work as expected. When set to Greater, I would expect fragments to be rendered when they are occluded by objects closer to the camera. Instead, the object renders traditionally (is if the field was set to LEqual)

    Is this a bug or am I missing something here?
     
  2. Ewanuk

    Ewanuk

    Joined:
    Jul 9, 2011
    Posts:
    257
    I'm a dummy, apparently this setting only works for transparent objects.