I have this white plane with a green cube on top of it. What I want to achieve is to have the green pixels replaced with transparent ones. For the shading to be correct I need half transparent pixels. Does anyone know how to achieve this in the compositor?
The goal of this operation is to have a cube mask PNG file so I can put any arbitrary colour as background in order to colour the cube.