Original Post
i have a very odd problem that i really hope hasn''t already been addressed in this forum. my apologies if it has been.
first of all, i''m using code and example programs from tanstaafl''s "2d in direct3d" book.
using example program 1_3 (i think), i listed my enumerated display modes, resulting in around 24 different modes. however, not one of them utilized a pixel format with an alpha channel; the closest i could find to D3DFMT_A8R8G8B8 was D3DFMT_X8R8G8B8. this confused the hell out of me, because the example prog using alpha blending (14_1, i think) worked perfectly -- a contradiction, i think.
in any case, i''m using almost exactly the same routines to load a texture. i really can''t find any differences between my code and his. however, when i display a textured primitive on the screen using vertices that don''t have full alpha (on top of another primitive, of course), it''s fully opaque. if i turn off texturing and simply use vertex colors to color a primitive, alpha blending seems to work just fine.
anyone have any ideas about what i''m doing wrong here? i might not have been entirely clear in my description, so ask any questions you need.