Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Nate101 on 2019-12-20, 06:50:42

Title: Possible to mimic CoronaMTL fresnel curve?
Post by: Nate101 on 2019-12-20, 06:50:42
I have a standard CoronaMTL with reflection level set to 1.0 and the Fresnel IOR set to the default 1.52.  I applied it to a sphere and rendered with no lights or reflections in the scene.  This is what the CShading_RawComponent--Reflection element looks like.

I'm trying to recreate the RawComponent output above in a separate CTexmap element but can't get a perfect match.  When I create a generic fresnel falloff map with 1.52 IOR and plug into CTexmap I get a notably different output in the VFB (see below).

Am I doing something wrong here or are max's built-in fresnel curve and corona's internal fresnel curve different from one another?  I dug up this thread from a few years ago that seems to indicate they are indeed different.  If so, is there a way to get the Corona curve into a CTexmap element?

https://forum.corona-renderer.com/index.php?topic=8214.0
Title: Re: Possible to mimic CoronaMTL fresnel curve?
Post by: GeorgeK on 2019-12-20, 08:23:10
interesting looks like a curve difference, what's the end goal?
Title: Re: Possible to mimic CoronaMTL fresnel curve?
Post by: Nate101 on 2019-12-20, 16:20:37
interesting looks like a curve difference, what's the end goal?

Ultimately I need to reproduce the Corona falloff in the beauty pass (without using render elements), but for testing purposes I find it easier to just plug into CTexmap.  Surprised there isn't a "CoronaFalloff" map in the same way there is a CoronaColor, CoronaBitmap, etc.