Author Topic: Corona 7 Override Bug  (Read 1482 times)

2021-08-24, 17:22:55

dj_buckley

  • Active Users
  • **
  • Posts: 484
    • View Profile
Hi guys, not sure if this happened in previous version but on Corona 7 Max 2021 - I'm getting the following issue.

If I use a reflect override on my glass material, everything works as expected.

If I then add in, in this case, a HDRI into the global refract override, it seems to give me both?

The glass is set up with the new physical material and 'Thin' is turned on, and so shouldn't have 'refraction' other than being able to see through it, according to the tool tip anyway.  And you can't see the environment beyond the glass.  There are 3 panes of glass.

So I'm trying to figure out if this is normal behaviour or not?  Why am I seeing the refract override on top of my reflect override on this material?

The end goal here, is one HDRI for lighting (slightly desaturated, a different version for direct visibility and refraction (not desaturated), and a panoramic photograph visible in only the glass reflections?

2021-08-24, 17:27:37
Reply #1

dj_buckley

  • Active Users
  • **
  • Posts: 484
    • View Profile
I've just tried the same setup (with the refract override) on the legacy material and the problem disappears, it renders as I'd expect it to.

Basic glass setup, legacy material, diffuse 0, reflect 1, refract 1, thin ticked

If anything, the legacy glass looks better when working as expected, which makes me think, even a black override in refraction is affecting it with the Physical material.

So to summarize, Physical material, reflect override only works if not overriding refract at the same time, Legacy material - allows you to do both
« Last Edit: 2021-08-24, 17:34:33 by dj_buckley »

2021-08-25, 14:13:38
Reply #2

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 601
  • George
    • View Profile
I've just tried the same setup (with the refract override) on the legacy material and the problem disappears, it renders as I'd expect it to.

Basic glass setup, legacy material, diffuse 0, reflect 1, refract 1, thin ticked

If anything, the legacy glass looks better when working as expected, which makes me think, even a black override in refraction is affecting it with the Physical material.

So to summarize, Physical material, reflect override only works if not overriding refract at the same time, Legacy material - allows you to do both

Hi and thanks, we recently logged something similar to this, it seems that something has changed with thin reflection-refraction and alpha. Please stay tuned for further updates.

(Report ID=CRMAX-910)
For solutions, troubleshooting, ticket requests please visit - [link]

2021-08-25, 14:17:36
Reply #3

dj_buckley

  • Active Users
  • **
  • Posts: 484
    • View Profile
No worries, this isn't a big one for me, just thought it was worth flagging, the only time I ever use this setup is for window glass/glass balustrades so the Legacy Material will be fine 99% of the time in this instance

2021-09-27, 12:58:00
Reply #4

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 601
  • George
    • View Profile
No worries, this isn't a big one for me, just thought it was worth flagging, the only time I ever use this setup is for window glass/glass balustrades so the Legacy Material will be fine 99% of the time in this instance

Hi again, a small update on this one. Please note that CoronaPhysical Thin-shell takes refraction overrides into account while this was not possible with the legacymtl thin model and this is the reason for the effect reported here.
For solutions, troubleshooting, ticket requests please visit - [link]

2021-09-27, 13:17:03
Reply #5

dj_buckley

  • Active Users
  • **
  • Posts: 484
    • View Profile
Still looks odd to me.  It'd make sense if you could see the environment through the refraction?  Also it looks like I can see both the environment override and the HDRI being used for lighting overlaid on top of each other although I could be wrong

2021-09-28, 11:45:29
Reply #6

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 601
  • George
    • View Profile
Still looks odd to me.  It'd make sense if you could see the environment through the refraction?  Also it looks like I can see both the environment override and the HDRI being used for lighting overlaid on top of each other although I could be wrong

I cannot reproduce this, CoronaPhysical thin/shell with overrides only reflects/refracts the overrides, and not the HDRI from the scene environment. Are you using HDRI as a backplate through geometry? Can you please share that glass material?
« Last Edit: 2021-09-28, 11:49:32 by GeorgeK »
For solutions, troubleshooting, ticket requests please visit - [link]