Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Tetsuoo on 2016-02-16, 08:29:22

Title: Strange IOR behavior
Post by: Tetsuoo on 2016-02-16, 08:29:22
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

(http://i.imgur.com/jwbgt42.jpg)
Title: Re: Strange IOR behavior
Post by: maru on 2016-02-16, 12:55:03
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
Title: Re: Strange IOR behavior
Post by: Ondra on 2016-02-16, 13:07:39
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.
Title: Re: Strange IOR behavior
Post by: Ludvik Koutny on 2016-02-16, 14:53:20
Yep, basically refraction IOR affects Fresnel reflection on those faces on the inside.
Title: Re: Strange IOR behavior
Post by: Tetsuoo on 2016-02-16, 17:35:23
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 ?
Title: Re: Strange IOR behavior
Post by: Ondra on 2016-02-16, 17:51:05
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
Title: Re: Strange IOR behavior
Post by: Tetsuoo on 2016-02-17, 01:38:56
Thank you.