Search Unity

  1. New Unity Live Help updates. Check them out here!

    Dismiss Notice

Access Depth texture in HDRP shader

Discussion in 'High Definition Render Pipeline' started by nasos_333, Mar 22, 2020.

  1. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    8,153
    Hi,

    How do i access the camera depth texture in a custom shader ?

    I dont want to include any HDRP libraries, just read the depth texture, is this possible ?

    I had done this in 2019.2 using the DepthPyramidTexture with adding only minimal libraries and now in 2019.3 is no longer working and there seems to not be a DepthPyramidTexture anymore as well.

    Thanks for any insight on this
     
unityunity