Original Post
I am having some serious problems with my alpha textures when they are used as part of a mesh! The cursed things keep on occluding objects rendered later on behind the mesh, as well as occluding parts of themselves!
By way of example, I have a simple lean-to structure that is made of four poles stuck in the ground, with a canopy. The canopy is a texture that has been painted with alpha transparent sections so that it looks like an irregular piece of animal skin stretched between the poles.
The problem is that at certain angles, the poles become hidden by the canopy''s alpha... effectively showing the terrain, instead of the pole. Not only that, but if I put other meshes under the canopy (like an NPC, or a barrel, etc), they get occluded in the same way.
Most frustrating. I know that I can work around the interior occlusion by doing some very hectic depth sorting prior to rendering, but I have no idea how to get rid of the mesh occluding part of itself!
And this is quite a serious problem because later on I intend to use bill-board techniques to create flaming torches, frilly eaves and so on.