Jump to content
  • Advertisement

Archived

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

Talien

Dx7 VB alpha blending

This topic is 6136 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I''m using Visual Basic and DX7, and I''m trying to figure out how to make a colorkeyed texture using alpha-blending. To clarify, I''m not wanting to use colorkeying, but I cannot get the alpga blending to make black areas transparant yet leave the other colors alone! I would make a .png with alpha information, but the createSurface() function only accepts .bmp files. Futhermore, there is no such thing as D3DX for Visual Basic that I can find. How can I either get a .png loaded as a Direct Draw surface and achieve this psudeo-colorkeying, or otherwise get this effect? Again, I cannot use D3DX or C++ code, and I''m using D3D7. Any help would be appreciated.

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!