Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Bug Material with Subsurface Scattering appears black in Planar Reflection

Discussion in 'High Definition Render Pipeline' started by Qleenie, Mar 16, 2021.

  1. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    156
    Hey, I just upgraded to HDRP 10.4 + Unity 2020 LTS. Everything works great so far, but encountered an issue I could not solve: All shaders with Subsurface scattering appear black in planar reflection probe. in HDRP 7.5 the issue was not present; materials with SSS looked a bit weird, but not black.
    Is there anything to prevent this from happening?
     
  2. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    156
    Small Update: I found out that we can change HDRP properties for Reflections separately. If I switch of Subsurface Scattering for Realtime Reflections, Materials appear "normal" (albeit of course without Subsurface Scattering). So it seems to be a bug in HDRP ?
     
    chap-unity likes this.
  3. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    193
    Hello, thanks for the feedback. I managed to easily repro your issue and logged something.
    I'll keep you updated here of any advancement.
     
    Qleenie likes this.
  4. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    156
    Sounds good, thanks. I am glad I don't need to build a repro project ;)
     
    chap-unity likes this.
  5. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    156
    @chap-unity
    One more observation: SSS does also not seem to work if I switch scene view to 2D. Same effect, material turns black.
     
  6. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    193
    Hey, this one is known and expected.
    2D Mode in scene view is using isometric projection and unfortunately as of today HDRP, for performance reasons, doesn't support this mode. (only perspective)

    You can use it overall but you will get various lighting issue on transparent, wrong volumetric, wrong planar reflection... and unexpected results. The reason is
     
  7. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    156
    Ah, okay. It's just that it wasn't that apparent in HDRP 7.5, as in that case probaly the SSS was just not rendered. Now the materials using SSS turn black. Not a big deal for me, as I use 2D mode only for weight painting on cloth.
     
  8. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    798
    Qleenie likes this.
unityunity