Compositing Layers Have Halos I'm having a heck of a time compositing numerous layers using the Alpha Over nodes in the compositor. I have done this many times before without a problem. 

All the objects on each layer are ending up with alpha halos around them. The saved image (Targa, TIFF, PNG,etc.) all have semi-transparent halos around each layer's contents.

I've tried checking Convert Premul at each stage along the node tree trying to get the alphas to work correctly together but the checkbox seems to be having no effect at all.

Can anyone tell me what's up with this?

(Unfortunately, I can't post a .blend because it contains purchased models)

Thanks.



I've uploaded a very simple .blend showing the same problem as well as a screen shot. The blend is here.

I understand what's happening (I think) in that each layer's edges are being anti-aliased against the black background, resulting in gray edges. But there must be a way to do what I'm trying to do here. I know I've done it before where the alphas are blended such that the gray halos aren't there.

Anyone know how I should be doing this?
You have that problem because the alphas of each plate are correlated, as the foreground doesn't overlap the background, it masks it out.

Solving it is not super straight-forward but it's quite easy:


Add add the alpha channels of each layer together. Use a mix node with the "add" mode.
Add RGB plates together, same as above: mix node, "Add".
Use the "set alpha" node to assign the result of the added alphas to the result of the added RGB plates.
Profit :-)


The result will be properly combined with no halos or holes.