Author Topic: Possible to mimic CoronaMTL fresnel curve?  (Read 1651 times)

2019-12-20, 06:50:42

Nate101

  • Active Users
  • **
  • Posts: 33
    • View Profile
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

2019-12-20, 08:23:10
Reply #1

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
interesting looks like a curve difference, what's the end goal?
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2019-12-20, 16:20:37
Reply #2

Nate101

  • Active Users
  • **
  • Posts: 33
    • View Profile
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.