<p dir="ltr">If you combine the passes as shown in the graph there will be no halo, the output will already be premultiplied.</p>
<p dir="ltr">You would then use the Set Alpha node to give it an alpha channel. (I&#39;m not sure if that is what you mean by &quot;applying&quot; the alpha channel, you should not be multiplying it in anyway, only setting it).</p>

<p dir="ltr">Also, black halos are a sign that you have premultiplied when you shouldn&#39;t, it&#39;s white halos that you see when you forget to premultiply.</p>
<p dir="ltr">On Feb 28, 2014 1:10 PM, &quot;Adriano Oliveira&quot; &lt;<a href="mailto:adriano.ufrb@gmail.com">adriano.ufrb@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; But as long as color passes are not premultyplied, you will get a black halo when applyig alpha to the final image, don&#39;t you? <br>
&gt;<br>
&gt;<br>
&gt; Adriano A. Oliveira<br>
&gt;<br>
&gt; Livro: <a href="http://goo.gl/WtcNX">http://goo.gl/WtcNX</a><br>
&gt; Lattes: <a href="http://lattes.cnpq.br/8343393957854863">http://lattes.cnpq.br/8343393957854863</a><br>
&gt; Blog &quot;Anodinidades&quot;: <a href="http://anodinidades.wordpress.com/">http://anodinidades.wordpress.com/</a><br>
&gt; Produções audiovisuais: <a href="http://vimeo.com/anodinidades/videos">http://vimeo.com/anodinidades/videos</a><br>
&gt; Fotografia: <a href="http://www.flickr.com/photos/adriano-ol/">http://www.flickr.com/photos/adriano-ol/</a><br>
&gt; Facebook: <a href="http://www.facebook.com/adriano.ol">http://www.facebook.com/adriano.ol</a><br>
&gt; Twitter: <a href="http://twitter.com/anodinidades">http://twitter.com/anodinidades</a><br>
&gt;<br>
&gt;<br>
&gt; 2014-02-28 1:14 GMT-03:00 Daniel Salazar - <a href="http://patazstudio.com">patazstudio.com</a> &lt;<a href="mailto:zanqdo@gmail.com">zanqdo@gmail.com</a>&gt;:<br>
&gt;<br>
&gt;&gt; Hi, this is no bug, here&#39;s the correct way to recompose the passes<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes#Combining">http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes#Combining</a><br>
&gt;&gt; Daniel Salazar<br>
&gt;&gt; <a href="http://patazstudio.com">patazstudio.com</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Feb 27, 2014 at 9:41 PM, Adriano Oliveira<br>
&gt;&gt; &lt;<a href="mailto:adriano.ufrb@gmail.com">adriano.ufrb@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; BUILD: b5d6f14<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I don&#39;t know if this is a bug or not, but I am rendering dufuse and glossy<br>
&gt;&gt; &gt; passes (direct, indirect, color) and I have noticed that some are<br>
&gt;&gt; &gt; premultiplied (likre indirect) and others are not (like color).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; This seams to be inconsistent.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Adriano A. Oliveira<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Bf-cycles mailing list<br>
&gt;&gt; &gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt;&gt; &gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Bf-cycles mailing list<br>
&gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;<br>
</p>