Depth not visible in game view...

Hi there,
While I was preparing some shaders I noted that the depth texture is not visible on the game view however the shader is displayed properly on the editor view.
I’m using URP + shadergraph + unity 2020.1.6f1

Please check the images for more details:

Notice the “black grandient” on the edge is not appearing on the game view…

Here you have the shaergraph shader (quite a simple test actually)

and the render pipeline I’m using (not that the depth texture is active)

Surprisingly it was working properly on the previous 2019 unity version…

Any clue?

Thanks in advance :slight_smile:

1 Like

Hey, have you figured it out? currently experiencing the same thing

Edit:
I think I figured it out but im not sure as to how it works yet
If you go into the pipeline asset renderer (Located in the list under the rendered pipeline asset), and switch between the Rendering > Depth Texture Mode from ‘After Transparents’ to ‘Force Prepass’, it’ll appear

2 Likes