Object Masking - Reversed

Hello guys, I was wondering, is there a way to achieve this (Check the image bellow) ?
I think it’s more achievable using a shader than altering its mesh hard coded.

Image is from photoshop using layers…
841575--31382--$Masking.jpg

Thanks in advance,
Mike.

i would like to know that too!

One way of doing this is to use the frame buffer’s alpha channel. Have the camera clear it to 0, and then get your masking objects to write 1. Finally, use the blending coefficients Blend DstAlpha OneMinusDstAlpha for the objects you want to mask.