Alpha mask

Hey everybody can you guess what time it is. Thats right stupid question from shard, that I should know the answer to by now, time.

Anyway I have some alpha mask of trees. How do I alpha them. I know it is something like turn on use alpha but could someone give me the steps.



If the image format supports Alpha (.png, .tga) set UseAlpha on. If it’s .jpg or .bmp or somesuch then Black (zero RBG) will be used for Alpha and you need CalcAlpha.


Does it work with .tif images because when I try to open a tif it just shows blackness. Also how do I get rid of the white outline around the tree.

I take it form you post that you have two images one of the tree and a black and white image to use as the alpha mask.

On the Merror Transp tab Turn on ZTransp.
Load the Alpha image as the first texture.
On the Map To Tab turn Col off and Alpha on.
On the Materials Tab Move Alpha to 0.
Load you tree image as you second texture.

You should be all set.

From this site:

TIFF is a flexible bitmap image format supported by virtually all paint, image-editing, and page-layout applications. Also, virtually all desktop scanners can produce TIFF images. 
The TIFF format supports CMYK, RGB, greyscale, Lab, indexed-colour, and bitmap files with alpha channels, <i>however layout design applications do not recognise all alpha channel information.</i>


So it doesnt suppot tif :frowning: . I am still getting little white spots around the tree.

Please post the texture you’re using. I might be an aliasing problem.

Alpha channel with shades using jpg

Shard, post a pic of the tree, I have something you might want to try, but I don’t know exactly what you mean by “little white spots around the tree”.

The one on the left is working but the one on the right sort of has like a white outline.

Hmm… I don’t know, it looks like it might just be that your Color Image isn’t fiting your Alpha one…

Print it and take a close-up look in Gimp or Photoshop. Zoom to individual pixels.