Skip to content

[Solved] "Depth" Pass doesn't work with SSAO (tested on URP 12.1) #6

@jiaozi158

Description

@jiaozi158

When I was trying to apply Depth of Field post-process effect, I found that some sorting problems appear.

Using URP 12.1 (Unity 2021.2.0f1):
image

Then I opened the Shell sample scene to check if it is because of my wrong settings.

In the Frame Debugger, all the meshes using Shell Shader cannot be written into the Depth (Texture?).

Using URP 12.1 (Unity 2021.2.0f1):
image
image

I also tested the Depth in Unity 2020.3.23f1 and Depth of Field works as expected. ( Using the sample project on Github )
image
image

I've searched the Unity Forum but found nothing helpful.
Is this caused by something changed in the new URP? ( just like the main light shadow )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions