Author Topic: CMasking_Mask  (Read 4984 times)

2014-03-24, 14:01:28

JG_monomiru

  • Active Users
  • **
  • Posts: 149
  • JG
    • View Profile
    • www.gehrcken.de
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.
« Last Edit: 2014-03-24, 14:08:20 by Jens_Gehrcken »

2015-03-02, 19:33:46
Reply #1

JG_monomiru

  • Active Users
  • **
  • Posts: 149
  • JG
    • View Profile
    • www.gehrcken.de
I tried in Corona 1.01 - but still not figured how to render 2 maskes, with one transparent object?

2015-03-02, 19:46:45
Reply #2

JG_monomiru

  • Active Users
  • **
  • Posts: 149
  • JG
    • View Profile
    • www.gehrcken.de
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?

2015-03-02, 22:12:53
Reply #3

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
and/or comes in place if you select multiple conditions for one channel (for example Selection list and GBuffer ID at the same time)
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-03-03, 07:13:08
Reply #4

JG_monomiru

  • Active Users
  • **
  • Posts: 149
  • JG
    • View Profile
    • www.gehrcken.de
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.