Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

2d Alphablending..with DirectDraw

Please help me 2D alphablending method with directdraw.

1 Solution
what mode are you working with (32 bit?) , do you have aplha channel information in your images ?.

If you are working in modes below 32 bits then either you have hardware support for aplha or you have to emulate it yourself. What you have to do is create aplha masks with your surfaces and write your own blit routines that take into account the aplha values.

I would recommend that you have a look at CDX lib (a free directX based game library), its out-dated and incomplete but it does serve as an example of emulating aplha belnding and transparency etc.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now