Author Topic: Corona 12 glass material problem  (Read 443 times)

2024-07-10, 13:23:23

Anton Maksymov

  • Active Users
  • **
  • Posts: 8
    • View Profile
After updating to Corona 12, my glass materials started behaving strangely. The previous settings, which worked perfectly, are now giving completely different results. Specifically, I'm referring to Volumetric Scattering as well as the front and back parts of the glass (textured glass at the back and smooth at the front).

Volumetric Scattering is now giving the glass a lot of color without any changes to the settings.

Regarding the texture of the glass: I use a Multi/Sub-Object map to apply different materials to different polygons. That is, for a 5mm thick box, one material is applied to the front (smooth glass) and another to the back (textured). In version 11, everything worked perfectly, but now the back part of the glass just doesn't render (examples of images below).

2024-07-10, 13:51:46
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5620
    • View Profile
Might be related to "Added option to distinguish media based on their material (e.g., two intersecting objects with the same material will be now considered as a single volume). This is automatically active for new scenes." ? This could be changing the interpreted thickness of the overlapping objects, thus increasing absorption effects? Though sounds like you aren't using different objects in the example, just two variations of the material front and back one which has a bump and the other does not, but not 100% clear on that.

What version did you update from btw, Corona 11? What happens if you just apply one material rather than a front and back set up?
Tom Grimes | chaos-corona.com
Product Manager | contact us

2024-07-10, 14:18:39
Reply #2

Anton Maksymov

  • Active Users
  • **
  • Posts: 8
    • View Profile
Might be related to "Added option to distinguish media based on their material (e.g., two intersecting objects with the same material will be now considered as a single volume). This is automatically active for new scenes." ? This could be changing the interpreted thickness of the overlapping objects, thus increasing absorption effects? Though sounds like you aren't using different objects in the example, just two variations of the material front and back one which has a bump and the other does not, but not 100% clear on that.

What version did you update from btw, Corona 11? What happens if you just apply one material rather than a front and back set up?

It's a single box with two materials applied: one smooth and one bumpy. In the example below, the same object is rotated 180 degrees. The front and edges use material 1, while the back uses material 2. This is how the glass material works now, which is very inconvenient and hinders my work.

I never thought I would need to revert to a previous version.

2024-07-10, 14:22:10
Reply #3

Anton Maksymov

  • Active Users
  • **
  • Posts: 8
    • View Profile
Another example of how the glass material has changed from Corona 11 to Corona 12.

2024-07-10, 14:26:39
Reply #4

Anton Maksymov

  • Active Users
  • **
  • Posts: 8
    • View Profile
What version did you update from btw, Corona 11? What happens if you just apply one material rather than a front and back set up?

Yes, from Corona 11 to Corona 12.
 Here's what happens if you use just one material (screenshot below).

2024-07-10, 17:17:44
Reply #5

CharlyRT

  • Active Users
  • **
  • Posts: 85
    • View Profile
mmmm could it be something related to max ray depth? Could you check the value, a couple of versions ago someone ask me why his glass material changed from one version to other and that was it, it might help to check it

2024-07-11, 08:04:58
Reply #6

Anton Maksymov

  • Active Users
  • **
  • Posts: 8
    • View Profile
mmmm could it be something related to max ray depth? Could you check the value, a couple of versions ago someone ask me why his glass material changed from one version to other and that was it, it might help to check it
Thank you for your response, but unfortunately, it didn't help.

2024-07-11, 09:34:07
Reply #7

Aram Avetisyan

  • Corona Team
  • Active Users
  • ****
  • Posts: 646
    • View Profile
Hi,

From what I see, it may be scaling issue - for the whole scene or for the absorption distances. This might have happened when opening scene and not adopting its scale units.
If Corona 12 is too saturated with color, try checking the absoprtion/volumetric distances, increase them by, say, 10 and see if you get consistent results with Corona 11.
Aram Avetisyan | chaos-corona.com
Chaos Corona QA Specialist | contact us

2024-07-11, 10:08:42
Reply #8

Anton Maksymov

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

From what I see, it may be scaling issue - for the whole scene or for the absorption distances. This might have happened when opening scene and not adopting its scale units.
If Corona 12 is too saturated with color, try checking the absoprtion/volumetric distances, increase them by, say, 10 and see if you get consistent results with Corona 11.

Hi, thanks for your response.

This is the same scene, with the same units of measurement. I rule out a scaling issue because everything returns to normal if I use one material on the object instead of multiple (Multi/Sub-Object map). So, I think the problem is specifically with having multiple glass materials on one object. This issue arises only with glass materials because when I apply a mirror material to the back side, everything works fine.

2024-07-11, 16:12:27
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12899
  • Marcin
    • View Profile
(this is being handled in support ticket #266379)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us