In my code I want to hide the black parts of an object in this case leaves on a tree using the following commands:
SET IMAGE COLORKEY 0,0,0
SET OBJECT TRANSPARENCY tree,1
Unfortunately it is not producing the desired effect and I was wondering if anyone has encountered this problem and what is the remedy? If any.
Below is a sample of the problem. As you can see around the leaves is blue as I have highlighted in the red circles.
However if an object like the tree itself, or another leaf, then it works as highlighted in the yellow circles, but not with other objects like the ground and backdrop etc.
Now just to set people straight it is a BMP image with no antialiasing. The texture has been placed on the object plains intersecting each other something like so:
\|/
/|\ (from top)
If anyone can help please let me know,
Cheers,
Karl...