Author Topic: Masks dont pick up layered materials unless the base materials shares the ID  (Read 3002 times)

2020-09-23, 13:24:27

Jpjapers

  • Active Users
  • **
  • Posts: 1654
    • View Profile
When using ID masks, a layered material will not show on a mask layer when masked by ID if the base material within the layered material doesnt share the same ID.

Setup:

Layered material = ID 1
Base material = ID 0
Mask element = ID 1

Mask will not show the layered material assigned to the geometry until the base is also ID 1.
Not sure if a bug or a feature as the Layered material should automatically be picked up by the mask IMHO. It shouldnt rely on the base i think?

Reported: https://coronarenderer.freshdesk.com/support/tickets/191526

2020-09-23, 17:54:00
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
I thought it was already reported. We will definitely look into this.
The ticket is assigned to George so I will leave the investigation + logging the issue to him.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-09-23, 18:43:53
Reply #2

Jpjapers

  • Active Users
  • **
  • Posts: 1654
    • View Profile
I thought it was already reported. We will definitely look into this.
The ticket is assigned to George so I will leave the investigation + logging the issue to him.

Thanks, i reported on freshdesk earlier today but thought it best to post here incase others have the issue and come looking for a solution.

2020-09-24, 10:15:14
Reply #3

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
This looks off, thanks for reporting please also check my ticket response.

(internal id=569074750)
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2020-09-24, 13:20:04
Reply #4

Jpjapers

  • Active Users
  • **
  • Posts: 1654
    • View Profile
Thanks George.

For those coming here looking for a temporary workaround...

Method:


First you need to assign your ID to your layered material.
Second you must assign the base material within the layered material with the same ID.
Then you must reapply the same ID to the layered material again (this seems to kickstart corona into recognising something has changed and refreshes the interactive render)
This should now show the layered material in the correct Mask pass.