Opacity Channel - Alpha image: white border

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  07 July 2011
Opacity Channel - Alpha image: white border


I've two .tif images of a leaf: one for the diffuse and the other for the alpha.

I notice that once applied the alpha image a little white border appear around the silouette of the diffuse image, I can see both in the material preview and also in the final render.
It seems the alpha image doesn't cut correctly around the diffuse image, but it is some pixel bigger and so I see also the white area of the diffuse image.

It is a common problem that I can solve in the bitmap parameter?

Thanks a lot!
  07 July 2011
You just have some edge bleeding--Best thing to do is go back into photoshop and change the background to something green to match the leaf so that it doesn't have that white there. You could even try extending the edges of the leaf to use the same color.
The Z-Axis
  07 July 2011
How are you using the maps in 3ds Max? Sorry too many possible variations to know the proper resolution.

For best results it is usually better to combine the diffuse and alpha in an image editor and save them out combined. Then make sure that the bitmap map is properly to premultipled or not for the alpha.

"The Evil Monkey hiding in your closet."
  07 July 2011
Don't forget to turn off filtering for your map (in the bitmap parameter as you said). It's the most common cause of the white border you describe.
  12 December 2011
Did you find a solution? I have a similar problem. PNG image: alpha edges bleed out 1 pixel so it seems.

Last edited by ojhokke : 12 December 2011 at 11:14 AM.
  12 December 2011

Well, I don't remember very well... it seems to me I haven't solved... but if I remember I've changed the diffuse color of the diffuse channel and made it similar to the color of the leaf accordly with the bitmap, it seems that the diffuse color of the material (under the bitmap) is taken in consideration in some way, so the white border around the leaf is "dirted" by the diffuse color of the material.

Good luck!
  12 December 2011
thanks for you reply!

I also did not find a solution, but I have a workaround for my case. All objects have only 1 color anyway, so I decided to give each material its color for the diffuse (simply diffuse color property instead of a bitmap) and an opacity map made in photoshop. No white edges
  12 December 2012

If you or someone else locking around here still haven not find a good solution.

Do this:

1: Make a copy of your beloved "alpha mask"
2: Paint the Background as you prefer instead of white, Then "Flatten Image".
3: Load you "alpha mask"
4: Select Background Layer & press CTRL + J
5: Delete Background Layer Save your masterpiece.

Use the image, be happy and try not to forget the little trick again, i do to often...

You may also:
Download and use "AlphaUtility.atn.zip" Before you go to step 2.
Its a Photoshop action, read about it here: ===> <===
My latest game art:
The Old Lady & Recycle Bin
  12 December 2012
If you have a diffuse map assigned, please try setting the swatch for ambient and diffuse to black.

For some reason, even if a diffuse map is assigned, the swatches have an effect on semi transparent pixels.
  03 March 2013
Originally Posted by wallasaurus: If you have a diffuse map assigned, please try setting the swatch for ambient and diffuse to black.

For some reason, even if a diffuse map is assigned, the swatches have an effect on semi transparent pixels.

this works in 3ds max 2012
  03 March 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:08 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.