Jump to content
  • Advertisement


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


Dx7 VB alpha blending

This topic is 6308 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

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!