THE PINK OUTLINE IS STILL THERE!!! waaaa!!
please help me and its better if there's a screen shot..or if it is tried and tested..thanks!!!!!!!
dx displaying 2d images/sprites/pre-rendered 3D
Sorry, but can't imagine why the outline's still there. Did you use the bucket tool multiple times (without anti-alias?!!!) on the pink background? Did you use the sharpen filter? And the TextureFilter within DirectX?
How do you show the picture in DirectX? As a texture on a mesh?
How do you show the picture in DirectX? As a texture on a mesh?
You might have more success posting this in the Visual Arts forum, since it's a problem with Photoshop rather than D3D (The alpha isn't correct where you think it is).
Quote:
d3dsprite->Begin(D3DXSPRITE_ALPHABLEND);
and just make the png picture has the transparent part or semi transparent.. don't make the BG of your sprite HOT PINK,,just delete the BG (it will be transparent in Photoshop) then it will be also transparent in DX...but make sure you include the code above..
it's really simple,isn't it? hehe
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement