This topic is now archived and is closed to further replies.


Bitmap Transparency - Of the Noob Category

Recommended Posts

fluke    136
I did a quick scan of the forums and DirectX SDK before asking this, but I''m having trouble copying bitmaps from a surface to the back buffer. I''m using the following function to blit the bmp, but it''s just a black bg... which is kind of what the documenation explains. D3DXLoadSurfaceFromSurface(g_pBackSurface,0,&DestRect2,pSurface2,0,&SrcRect2,D3DX_FILTER_POINT,D3DCOLOR_ARGB(255,26,255,123)); Can someone tell me of a D3D func that supports bitmap transparency (even if it''s the pixel at 0,0) or help me use this function correctly. Thanks!

Share this post

Link to post
Share on other sites