Author Topic: CoronaLayered-Refraction_Problem  (Read 2495 times)

2016-04-19, 23:21:36

Flavius

  • Active Users
  • **
  • Posts: 167
    • View Profile
Hi guys,

I think there is a bug here, or maybe I am doing something wrong. I want to make a Edison light bulb, and I want to add some fingerprints and scratches. The problem is, when I put a second material in the CoronaLayeredMaterial, the refraction IOR changes. I've attached two images.

First image is just a corona material, refraction looks to be correctly calculated.

Second image, same corona material but now a second material is added with a black and white mask. Even if I take out the mask, the same problem, the refraction is not ok anymore. Any ideas? Is this a bug?

I have tried with a standard blend material, same issue. As soon as I set the mix amount to whatever value but different than zero, the refraction completely changes.

The glass has a shell modifier on it with a very small value.

Thank you in advance,
« Last Edit: 2016-04-19, 23:26:19 by Blackhawk »

2016-04-19, 23:26:13
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9278
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Yes this is well known bug - refractive materials doesn't work correctly inside blend materials. Try to construct your dirty glass as a single material.

https://coronarenderer.freshdesk.com/support/solutions/articles/5000516180-known-bugs-and-limitations
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-04-19, 23:28:01
Reply #2

Flavius

  • Active Users
  • **
  • Posts: 167
    • View Profile
Ah, ok, thanks for replying so quickly. I searched the forums for "refractive problem" but didn't find anything, didn't cross my mind to go on the website :( I'll use some mix maps in a single material then.

Thanks!

2016-04-20, 12:07:31
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13736
  • Marcin
    • View Profile
If you are able to get away with glass in thin mode, that's also an option...
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us