this is maybe a dumb question, but here it goes anyway:
I'm trying to create a decal of a small plant.
I created a Photoshop texture of this plant, with a transparent background. Now, when I create my material and apply this to the decal, the background is transparent, but I get ugly white borders around the painted plant no matter what shader I pick.
If I increase the alpha, which seems to cut away the border for the alpha test shader in the preview window, the texture itself is getting more transparent on the decal.
You are better using an alpha channel to depict the area of transparency and have your leaves on a solid green background and saving the image as an .tga (Targa)
Okay, tried TGA with an alpha channel, still the same problem. I made a picture to illustrate my problem better, see attachment. Alpha Testing is not working
I tried both decals and mesh_overlays, no difference
EDIT: after rereading your answer I finally got what you meant. Instead of a transparent background (which seems to be interpreted as white) I should use a colored one.... I might try that, still I fail to see why alpha testing doesn't seems to work with the decals...
(This post was last modified: 01-09-2012 01:32 PM by Gian-Reto.)