Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: JG_monomiru on 2014-03-24, 14:01:28

Title: CMasking_Mask
Post by: JG_monomiru on 2014-03-24, 14:01:28
I was wondering how i could get the Corona Mask to behave like this RGB Sample. The Green Object is transparent and has MAT ID2 as green channel, the Rest ist basic material with MAT ID1 on red channel.

I'm using Alpha 6 and in Renderelements CMasking_Mask RGB Mode there is this option Multiple conditions mixing.
I set it to Intersection(And)

But still it sparse out the red channel where the transparent object is.

Did i missed a setting in the Material options? In Vray there was this Affect Channel drop-selection. where you could select All-Channel, Alpha or none.
In corona material there is this alpha channel option under advanced settings - but it seems with no effect on masking.

attached an image i altered in Photoshop to have the desired mask.
Title: Re: CMasking_Mask
Post by: JG_monomiru on 2015-03-02, 19:33:46
I tried in Corona 1.01 - but still not figured how to render 2 maskes, with one transparent object?
Title: Re: CMasking_Mask
Post by: JG_monomiru on 2015-03-02, 19:46:45
Also ist there a help-file about corona render elements?

in Cmasking_Mask there is this "Multiple conditions mixing" - you can choose And / OR --- but visually i dont see any difference in render elements.

has anyone figured how to use get mask from transparent objects and the mask behind it - with a single rendering and not several renderings?
Title: Re: CMasking_Mask
Post by: Ondra on 2015-03-02, 22:12:53
and/or comes in place if you select multiple conditions for one channel (for example Selection list and GBuffer ID at the same time)
Title: Re: CMasking_Mask
Post by: JG_monomiru on 2015-03-03, 07:13:08
oh ok i first thought it would usable with different channels - like red channel for a glas object and green for a wall behind. so i assumed that "and" would make the overlapping area yellow.

well maybe the transparency mask overlapping is due for a future version of corona.