Search Unity

Question How to use "Depth Write" in URP Shader Graph 12.1

Discussion in 'Shader Graph' started by wwWwwwW1, Dec 3, 2021.

  1. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    768
    I found a new "Depth Write" option in URP Shader Graph. ( Unity 2021.2.5f1, URP 12.1.2)

    New "Depth Write" option:
    upload_2021-12-3_19-20-45.png

    But transparent objects ( using this shader graph) still won't be written to Depth.

    Opaque object:
    upload_2021-12-3_19-31-27.png

    Transparent object using this shader graph:
    upload_2021-12-3_19-32-28.png

    Is there anybody knows how to use this "Depth Write"? ( Maybe Depth of Field needs it )
    Thanks!
     
    JonasWischeropp and dahrule like this.