Transparent material to show a white border

Hi!

I’ve created a transparent PNG to show a white border around some actors. To do it I have created a material with this texture:

Set the material as masked:

But, when I use it, I see this:

I have also tried with this texture, but with the same result:

How can I do it?

Thanks!

Hi there!

Please connect the A (Alpha Channel) of your Texture Sample to the Opacity Mask pin in the M_Border output node and this should be good.