Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

HDR Raytraced Refelctions

Discussion in 'HDRP Ray Tracing' started by fra3point, Sep 10, 2020.

  1. fra3point

    fra3point

    Joined:
    Aug 20, 2012
    Posts:
    269
    Hello, everyone!

    In these days I'm experimenting the Raytracing system, but I can't get HDR raytraced reflections... Is this a known limitation of the system or am I missing something?

    Look at the following screenshot: as you can see the headlights are very emissive, but the reflections aren't bright at all.

    upload_2020-9-10_9-53-26.png

    Planar reflections (mirrors) seem to have the same issue, but only if RayTracing is enabled in Screen Space Reflection:

    upload_2020-9-10_10-1-28.png

    I'm on a Nvidia GeForce 1080, maybe it's just the raytracing fallback for non-RTX cards?
    Did anyone succeded to get HDR raytraced reflection?


    Edit: the option Clamp can be used to allow pre-exposed colors to be reflected, but it is limited to 10. In my case, it wasn't enough...


    Thanks,
    Francesco
     
    Last edited: Sep 10, 2020
    SamFernGamer4k likes this.
  2. Lex4art

    Lex4art

    Joined:
    Nov 17, 2012
    Posts:
    445
    Probably the best way is to use actual light source - area or spot light - it should have unclamped highlight range.
    Upd: sorry for messy reply, it was about "if you're using emissive textures as the light sources it will be better to use actual light's instead because texture lighting range is clamped".
     
    Last edited: Sep 12, 2020
    SamFernGamer4k and fra3point like this.
  3. fra3point

    fra3point

    Joined:
    Aug 20, 2012
    Posts:
    269
    Thanks for the answer!
     
    SamFernGamer4k likes this.
  4. auzaiffe

    auzaiffe

    Unity Technologies

    Joined:
    Sep 4, 2018
    Posts:
    255
  5. fra3point

    fra3point

    Joined:
    Aug 20, 2012
    Posts:
    269
    Thank you, this is a solid solution!

    Francesco
     
    SamFernGamer4k likes this.
  6. spiegelball

    spiegelball

    Joined:
    Mar 2, 2020
    Posts:
    16
    For me the "Clamp Value" resets itself now and then to the default value. Did anybody else experience this?
     
  7. Lex4art

    Lex4art

    Joined:
    Nov 17, 2012
    Posts:
    445
    Yeah, not only this but some other settings in Global Illumination/Reflections settings. It was fixed in latest HDRP 11.x master branch on GitHub (for Unity 2021.1alpha 7), for 2020.2b I guess it will be fixed in HDRP 10.3 Release version or something.
     
  8. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,248
    try re-importing all the raytrace scripts...
     
  9. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    In short: Raytracing isn't supported with DOTS Hybrid Rendering.
     
  10. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,248
    any idea if it ever will be?
     
  11. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    Lex4art and newguy123 like this.
  12. Cell-i-Zenit

    Cell-i-Zenit

    Joined:
    Mar 11, 2016
    Posts:
    290