Author Topic: Strange IOR behavior  (Read 3536 times)

2016-02-16, 08:29:22

Tetsuoo

  • Active Users
  • **
  • Posts: 33
    • View Profile
Hi,
It's been post on Youtube but I think I should post here as well. I can't really say I "need help" but this was bugging me somehow.
I discovered that by chance, it seems that even with Refraction set to 0, the IOR value still have an effect on a material using SSS and translucency.
I know, it doesn't make sense so here I reproduced the problem and made a screenshot of it

« Last Edit: 2016-02-16, 17:26:36 by Tetsuoo »

2016-02-16, 12:55:03
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13722
  • Marcin
    • View Profile
It looks like it could be by design. I just recalled adding this to the SSS guide: https://coronarenderer.freshdesk.com/support/solutions/articles/5000534910
Quote
Refraction IOR affects translucency
But it would be great if Ondra could confirm this.

update: explained below
« Last Edit: 2016-02-16, 16:31:39 by maru »
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-02-16, 13:07:39
Reply #2

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
it affects things in a very subtle way: reflection IOR is calculated using the fresnel IOR in reflection tab ONLY when ENTERING medium. When LEAVING a medium, the refraction IOR is always used. This was necessary to prevent some very prominent artifacts when using some wild combinations of reflect and refract IOR.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-02-16, 14:53:20
Reply #3

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Yep, basically refraction IOR affects Fresnel reflection on those faces on the inside.

2016-02-16, 17:35:23
Reply #4

Tetsuoo

  • Active Users
  • **
  • Posts: 33
    • View Profile
Alright, still a bit strange in my head but I think I get it. I guess it's not possible/logical not having refraction while having translucency at the same time. And reflections.
So, what's your advice guys, keep Refraction IOR and Reflection IOR the same value ?

2016-02-16, 17:51:05
Reply #5

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
So, what's your advice guys, keep Refraction IOR and Reflection IOR the same value ?
yes, if you have no specific reason to set them differently, keep them same
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-02-17, 01:38:56
Reply #6

Tetsuoo

  • Active Users
  • **
  • Posts: 33
    • View Profile
Thank you.