Announcement

Collapse
No announcement yet.

Refraction IOR still affects fresnel when Lock Fresnel IOR is disabled

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Refraction IOR still affects fresnel when Lock Fresnel IOR is disabled

    Modo 11.0v1 138707
    V-Ray 3.52.01 27395

    When "lock fresnel IOR" is disabled, the "fresnel IOR" channel should control fresnel completely. I just found that the "refraction IOR" channel still has an affect.

    The left has Fresnel IOR = 1.5, lock Fresnel IOR = OFF, refraction IOR = 1.5 (this looks correct)
    The right has Fresnel IOR = 1.5, lock Fresnel IOR = OFF, refraction IOR = 1.0 (this looks incorrect - notice the fresnel reflections near the edge are missing)

    So even with "lock Fresnel IOR" disabled, you have to set both "fresnel IOR" and "refraction IOR" to 1.5 to get the correct result

    Click image for larger version

Name:	20170510_lock_fresnel_refraction_ior_bug.png
Views:	1
Size:	153.9 KB
ID:	887718
    Attached Files
    Win10 Pro 64 / AMD Ryzen 9 5950X / 128GB / RTX 3090 + 1080 Ti / MODO
    I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live - Jesus Christ

  • #2
    The behavior is the same in V-Ray for 3ds Max from what I tested.
    I am not sure whether the behavior is intentional or a bug.
    Vlado will know.

    Greetings,
    Vladimir Nedev
    Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

    Comment


    • #3
      Has there been any resolution on this issue? We have just come across this very same issue in Maya and would love to understand if it's a bug, or expected behavior. If it's expected, could you please provide a brief explanation as there is currently nothing in the docs, or forums.
      Last edited by Druski; 12-11-2018, 11:09 PM.
      Drew Wood-Davies
      Head Of Lighting & Look-Development | Method Studios | Melbourne, Australia

      Comment


      • #4
        The explanation is related to total internal reflections, usually from the back sides of an object but also when an object with lower IOR is immersed inside an object with a higher IOR (like air bubbles in water). If the Fresnel IOR and the refraction IOR are completely unrelated, the reflections produced by the Fresnel formula do not match those that follow from Snell's law for total internal reflections and artifacts can happen (in the form of black spots or missing reflections/refractions). When the two IORs are different, V-Ray attempts to use a formula that ensures consistency between reflections and refractions, but it does mean that the refraction IOR still has some effect on reflections.

        We've investigated a few different ways around this issue but they had various problems. Hopefully we'll manage to find a working solution.

        Best regards,
        Vlado
        I only act like I know everything, Rogers.

        Comment

        Working...
        X