Ugly Transparency Problem!

How can I get rid of this ugly white border that appears when I use an Alpha map.

http://www.pasteall.org/pic/7628
http://www.pasteall.org/pic/7628

I have a leaf texture UV mapped to a plane with a black and white alpha map to make only the leaf texture visible. The texture and alpha map are the same size image. However, when rendered, a white border appears around the edges of the leaf texture as shown in the above picture. Does anyone know how to fix this problem?

Try selecting the premultiply box. Or, if it’s already selected, uncheck it…

I have premultiply selected for both images but it doesn’t make a difference if they are selected or not.

My only other thought is that your alpha channel may not correlate exactly with your image. Is that possible? Can you upload the actual image that you’re using for this?

I would hazard to guess you are using a calculated alpha instead of a real alpha, am I correct in that?

If so, and you are using black for the alpha, try checking “invert” in the image sample settings.

There’s what should be a working sample blend attached. Check you settings against it.

Attachments

alpha.blend (334 KB)

hmm… it looks like you used the magic wand tool?
like benu said, your alpha channel doesnt fit with the leaf - you should go into gimp (or something) and cut out the leaf from the inside - it wont matter if you cut a small bit of leaf off.