Search Unity

Bug SSAO, SSS, and Decal Render features breaks Render Objects (Experimental)

Discussion in 'Universal Render Pipeline' started by rostykul, May 25, 2022.

  1. rostykul

    rostykul

    Joined:
    Oct 9, 2018
    Posts:
    22
    Render Objects (Experimental) write depth option doesn't work like it regularly does with SSAO, SSS, or Decal Render features enabled. Normally the write depth option will update the _CameraDepthTexture, even when enabled on a transparent material.

    This is very useful for certain effects like letting transparent objects be recognized by Depth of Field for example as discussed in this thread. Turning on SSAO, SSS, or Decal (without screen space technique setting) will break the write depth option and not allow _CameraDepthTexture to be updated, it will only update the depth buffer.

    This is unfortunate because very professional custom effects can be achieved if this weren't an issue. Does anyone know what's going on here?
     
  2. kratocsaba

    kratocsaba

    Joined:
    Jan 5, 2020
    Posts:
    1
    Greetings, did you find any solution to this issue in the end?
     
  3. rostykul

    rostykul

    Joined:
    Oct 9, 2018
    Posts:
    22
    Nope, idk about future version of Unity but for now, I just accepted it and abandoned the effect I was trying to achieve
     
    clabbe likes this.