Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Depth pyramid scale variable missing in hdrp 10

Discussion in 'High Definition Render Pipeline' started by nasos_333, Dec 1, 2020.

  1. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,472
    Hi,

    I had a custom shader in hdrp 7 and now in hdrp 10 says that _DepthPyramidScale variable is not declared (i used it to get the depth by _CameraDepthTexture), is this variable still relevamt and if so where can be found or what library to include for it ?

    Thanks
     
    Last edited: Dec 1, 2020
  2. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,472
    bump, was this variable removed or depth grab changed between HDRP 7 and 10 ?

    Thanks
     
  3. kripto289

    kripto289

    Joined:
    Feb 21, 2013
    Posts:
    509
    Bump. Anyone know how to read depth texture in hdrp right now ???