Author Topic: Preserve Glass Material  (Read 3092 times)

2019-01-11, 12:20:31

corona_butler

  • Active Users
  • **
  • Posts: 8
    • View Profile
Hi all,

Finally giving Corona a good try..........time for a change.

I've looked through the help section on this, and searched the forum but can't find the answer.......

Quite a simple one really, I just wondered how the preserve glass materials works in the material override settings. And the other preserve functions too.

Does it look for materials called glass? Or materials that have some translucency so it wouldn't override fluids, glass etc as well. Or objects on a layer called glass?

Just curious before I have to do some tests t find out myself.

Many thanks,

Andy.

« Last Edit: 2019-01-11, 12:36:38 by corona_butler »

2019-01-11, 14:23:25
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6117
    • View Profile
Not name related, but parameter related; it is dependent on the strength of the Refraction parameter, and if it is greater than 0.05, it is counted as glass.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2019-01-11, 17:11:14
Reply #2

corona_butler

  • Active Users
  • **
  • Posts: 8
    • View Profile
Thanks for clarifying that. Do the other preservatives have a similar threshold too?

Cheers,

Andy

2019-01-11, 17:26:53
Reply #3

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6117
    • View Profile
Not that I know of, since they are either on or off (has displacement or not, is a light material or not, is a portal or not, is unsupported or not).
Tom Grimes | chaos-corona.com
Product Manager | contact us

2019-01-18, 16:50:11
Reply #4

Neil Cross

  • Active Users
  • **
  • Posts: 62
    • View Profile
I'm not sure if its just me but preserve glass only works with a single ID channel.
If I have an object using sub-object material, for example, a window with my glass on ID1 and Frame on ID2 it won't preserve.
I know i can exclude the window but this means my frame material will come through which I don't want. Alternative workaround is to plug my override material in ID2 which is annoying
See attached.



2019-01-23, 11:12:14
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13670
  • Marcin
    • View Profile
@CMaster that's already fixed in the daily builds and will be a part of Corona 4.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us