Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: Image Complete on 2023-05-22, 19:38:27

Title: Corona Decal not visible in masks
Post by: Image Complete on 2023-05-22, 19:38:27
Hello,

I am trying to create a mask for a decal but I can't find the way to do it.
In decal's object properties the "visible in masks" is checked. In assigned material everything look normal.
The decal is visible in beauty and reflection elements. However, no matter what mask I am trying to create (RGB, Monochromatic, Wirecolour, MaskID), it doesn't show up.

Corona 9.1, Max 2023.3.3.

Any idea?

Thanks,
Christos
Title: Re: Corona Decal not visible in masks
Post by: Image Complete on 2023-05-25, 09:51:29
Anyone? Is this a bug or I am missing something?

Thanks
Christos
Title: Re: Corona Decal not visible in masks
Post by: romullus on 2023-05-25, 10:27:52
Just a guess, but maybe your decal's material has "visible in mask" checked off?
Title: Re: Corona Decal not visible in masks
Post by: Image Complete on 2023-05-25, 11:31:16
Hello Romullus,

No, as I mentioned, it is checked on.
Title: Re: Corona Decal not visible in masks
Post by: romullus on 2023-05-25, 12:15:16
Sorry, i confused masks with alpha channel, however i tried quickly to setup basic scene and i was able to get distinct decal mask in CMasking_ID with Instance ID mode. Can you try this and see if it works for you?
Title: Re: Corona Decal not visible in masks
Post by: Image Complete on 2023-05-25, 12:51:31
Indeed it works. Why it works only with this setup though?
Title: Re: Corona Decal not visible in masks
Post by: romullus on 2023-05-25, 13:36:15
I'm not sure if it works only in this setup, it was the first thing that i tried and it worked - i didn't look further. Is there a reason why CMasking_ID is not good enough in your case?
Title: Re: Corona Decal not visible in masks
Post by: Image Complete on 2023-05-25, 14:04:35
According to my tests, RGB, monochromatic, wirecolour and ID (with Material ID selected) don't work. Which they should. Sure, Mask ID (with instance ID selected) can do the job but that doesn't mean this isn't something that has to be checked and possible be fixed. What if I had to make RGB masks for animation for example?

Thanks for your help!

Cheers!
Christos
Title: Re: Corona Decal not visible in masks
Post by: romullus on 2023-05-25, 14:38:04
You're welcome! I don't have time to check other options now, but if you think that some masking options should work with decals, but they doesn't, you can report this in bug reporting board here on the forum, or open support ticket at Chaos help portal https://support.chaos.com/hc/en-us/requests/new and the team will look at the issue.
Title: Re: Corona Decal not visible in masks
Post by: Avi on 2023-05-31, 07:24:57
Hi,

Currently, Decals are only visible using the "CMasking_ID" render element (Only if the Instance ID option is used).

We already have a feature request logged in our system to provide extended support for the "CMasking_Mask" render element too.

(Internal ID=1109050825)
Title: Re: Corona Decal not visible in masks
Post by: maru on 2023-05-31, 14:31:48
I am moving this thread to resolved. The issue is logged here https://forum.corona-renderer.com/index.php?topic=40121.0 and it is logged in our system.

(Internal ID=1109050825)