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

Resolved Raytraced Reflections doesnt pick up GI of Environment

Discussion in 'High Definition Render Pipeline' started by unity_C89E5F69F7C1C8B8D50C, Aug 31, 2023.

  1. unity_C89E5F69F7C1C8B8D50C

    unity_C89E5F69F7C1C8B8D50C

    Joined:
    Aug 31, 2023
    Posts:
    4
    Hi,

    Im having some issues with raytraced reflection and recursive rendering on highly reflective materials such as glass or chrome.

    The reflection that are picked up doesnt include the GI of the surrounding, this will make the reflection look dark and brown (looks like a reflection of a basecolor + lightpass + reflection).

    Is this still some kind of limitation with the raytracing and recursive rendering or what would be the best way to achieve both recursive rendering + gi reflections?

    Using the last unity build.
     
  2. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    692
    hey, when you mean GI of the surrounding, how is this GI computed?

    Is this Raytraced GI? If yes, it's completely expected, there no raytraced effects that can use the result of another raytraced effect.
    So for example if you are using Recursive Rendering to render a transparent glass, the shadows behind that glass can't be ray traced shadows.
    If you have using raytracing to compute GI, raytraced reflections cannot have that information as well so it fallback on other indirect lighting method such as probes or sky.. etc

    Also, might be useful to include the actual engine version you are using (can be many latest between LTS, alpha and beta) and some screenshots / videos can also help have faster answers as well !
     
  3. unity_C89E5F69F7C1C8B8D50C

    unity_C89E5F69F7C1C8B8D50C

    Joined:
    Aug 31, 2023
    Posts:
    4
    Hey,
    Thank you for the response, it gave some clarity.
    Yes I used raytracing on all possible features. turning off screen spaced gi (raytracing, ray marching, mixed) solved the issue.
    Not sure if this will create some other artifacts in some other areas.


    Im currently using 2022.3.8f1
     

    Attached Files:

  4. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    692
    This makes sense since now what happens in rasterization and in ray traced reflection gets roughly the same indirect lighting (since SSGI is disabled).

    If you need more information there is a forum post about some common "errors" in raytracing lighting here.