Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Black reflections screen space reflection RTX

Discussion in 'HDRP Ray Tracing' started by BananaStem, Apr 26, 2021.

  1. BananaStem

    BananaStem

    Joined:
    Sep 21, 2017
    Posts:
    41
    I am having issues with some objects reflecting in mirrors as black. All the setting for this model are the same as all others. Anyone having similar issues?
     

    Attached Files:

  2. m0nsky

    m0nsky

    Joined:
    Dec 9, 2015
    Posts:
    253
    What version HDRP are you using, and what shader are you using for your materials?
     
  3. BananaStem

    BananaStem

    Joined:
    Sep 21, 2017
    Posts:
    41
    Using HDRP 10.4.0
    Using standard HDRP/Lit shader with the same settings as all other materials in the scene. Also tested it with different shaders but still reflecting black. Checked model settings and its no different from the other models. At a loss here haha.
     
  4. Yanus3D

    Yanus3D

    Joined:
    May 6, 2019
    Posts:
    486
    This is problem with DXR setup. You can notice also metal itself has no second bounce reflection (left bottom corner)
    Check you have activated SSR. Also is question why we see in mirror other surfaces as normal reflected object....probably those object has BAKED GI on them. If you use RTX features that's the reason why reflection is black because global SSR is not activated or surface has no activated SSR/SSGI.
     
  5. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    696
    Usually where the mesh is black only in the reflections it's because the shader is not supported by raytracing (For exemple it will happen if you use the HDRP/LitTesselation or HDRP/LayeredLitTesselation).
    Another thing could be related to your normal/tangents, if there's no data (or the normals and/or tangents are set to None in the importer) the reflections would also look black.

    However, doesn't look to be the case in your example (at least for the normals) ? @BananaStem, if this doesn't fix your issue, could you share the scene or a small repro so I can take a look and try to understand why this could happen ?
     
    Last edited: Apr 28, 2021
  6. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,887
    Are there no bounce reflections for reflection probes in HDRP? You can do 4 bounces in built-in.