Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: 3Dpicnic on 2019-11-20, 16:49:28

Title: AOV mask output of layered materials
Post by: 3Dpicnic on 2019-11-20, 16:49:28
Hello,

I recently started using Corona in Cinema 4D. One thing I am missing is the ability to export texture masks of layered materials as AOV's. With Redshift this can be done with custom AOV's. Both using Corona layered materials and the C4D way of stacking materials does not output a material ID mask for me.

Am I doing something wrong?

Thanks,
Joost
Title: Re: AOV mask output of layered materials
Post by: houska on 2019-11-20, 16:54:50
Hi, have you tried Multi-Pass with Object buffer ID Mask passes? Look at the attached picture. Let me know if this is what you want and if everything is clear...
Title: Re: AOV mask output of layered materials
Post by: 3Dpicnic on 2019-11-20, 17:03:05
Thanks for the prompt reply. I am however not looking for object masks but material masks. The object I am rendering is a product with 2 kinds of materials that are layered. Both materials should become visible as an AOV.
Title: Re: AOV mask output of layered materials
Post by: houska on 2019-11-20, 17:07:26
Oh, I understand now. I'm afraid that's not possible. Or at least not that I know of. Form what I tried now, each material stack will have one material ID regardless of e.g. the opacity of the top material in the stack.