# Can't get rid of that white-alpha-border!

If I press the "include alpha-button" in the Mix-Color-Node, I get white borders. Otherwise i've got a perfect alpha but no blue background.

• pasteall.org/blend/27169 – user2642 Mar 1 '14 at 18:04
• Yes but i've concretize my question, I hope. – user2649 Mar 2 '14 at 15:27

Use the Alpha Over Node instead of the mix node. Color -> Alpha Over

This will also work if you use an image instead of a RGB node.

• and with an image? – user2642 Mar 1 '14 at 18:13
• what image? In your question you mention nothing of an image. – Vader Mar 1 '14 at 18:16
• If I use an image instead of a RGB-Node. – user2642 Mar 1 '14 at 18:16
• yes it will still work – Vader Mar 1 '14 at 18:20
• and when you now press only alpha-button. You will see a white outline – user2642 Mar 1 '14 at 18:22

You do not need a mix node, Use an alpha-over node. Although blender shows you a border around the cube, it is actually doing what you want. Use the following node setup. You do not need a scale node per se, I only have it because the background image is larger than the cube render

If you were to export a render with the shown node setup and import it into another compositing application you would see that this is the correct method. The alpha is retained and the composite shows the default backdrop from when you rendered it out of blender, but you can easily change that since the alpha is retained.

The alpha channel as viewed in another 3d app.

The node setup

If you lower the Width in the Film Panel under the render tab from 1.0 to 0.01 the border will dissolve.

• This is not the right way to solve this problem. – Vader Mar 2 '14 at 20:25
• The width is used for smoother antialiasing. The higher the pixel filter value (width), the smoother the aliasing. Values below 1 results in sharper renderings. – Christoph Werner Nov 29 '19 at 10:32