[NOTE: Reposted from 3D Graphics Forum to this Forum. Should have been posted here in the first place, sorry.]
I have a DirectX 9 project in which I've a texture I've loaded using D3DXCreateTextureFromResourceEx like so:
TransparentCol, //is set to my 0xFFFF0000 which is the color i use for transparency
But when the texture is billboarded, I see solid black in the places that were once red, and should be transparent. So DX is obviously setting my colour to transparent black, but I'm not sure what I've set up wrong. Which States need to enabled/setup to allow transparency, or which States might I have enabled that would block it from happening? Maybe It's even something else I'm forgetting?
Any thoughts would be appreciated. Thanks.