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

HDRP 4.0.1 Refraction error

Discussion in 'Graphics Experimental Previews' started by ArchVizPRO, Oct 12, 2018.

  1. ArchVizPRO

    ArchVizPRO

    Joined:
    Apr 27, 2014
    Posts:
    457
    Hello
    I have a problem with the Refraction of the Lit shader.
    Here a screenshot of the problem:
    Shaded.JPG
    And with the Debug Window:
    RayDistWS.JPG HitDepth.JPG HitSuccess.JPG
    The error is clearly visible in the HitDepth screenshot.
    Any suggestion how to solve it?
     
  2. ArchVizPRO

    ArchVizPRO

    Joined:
    Apr 27, 2014
    Posts:
    457
    And here another screenshot of the error and the Lit Shader used:
    Shader.JPG
     
  3. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    704
    What version of Unity and HDRP are you using ?
     
  4. ArchVizPRO

    ArchVizPRO

    Joined:
    Apr 27, 2014
    Posts:
    457
    Unity 2018.3.0b3 and HDRP 4.0.1 (from github)
     
  5. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    704
    Would it be possible for you to share this scene ?
     
  6. ArchVizPRO

    ArchVizPRO

    Joined:
    Apr 27, 2014
    Posts:
    457
    Actually, it's quite a big project (70 Gb).
    I will prepare a smaller dedicated project, with the same issue.
     
  7. ArchVizPRO

    ArchVizPRO

    Joined:
    Apr 27, 2014
    Posts:
    457
    Hello
    I have prepared a clean project that reproduces the problem (Unity 2018.3.0b3 and HDRP 4.0.1).
    https://drive.google.com/open?id=1cGohTxWq8_TqyYNVRxcUgrCQaDqqIh_l
    Seems that the problem is about reflection probe/planar reflection and refraction.
    Thank you!

    Capture.JPG
     
    konsic likes this.
  8. addeino

    addeino

    Joined:
    Dec 29, 2016
    Posts:
    1
    Hi, I'm facing a similar situation.
    Refraction seems to cause problems like this on my models.
    Did anyone find a solution yet? Thanks!