Jump to content
  • Advertisement
Sign in to follow this  
CronoMan

Alpha Channels in DDraw

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

I'm having some problems creating Alpha surfaces.. I have one bitmap (8-bit bmp) that is the alpha channel of another bitmap (24-bit bmp), creating the 24-bit bitmap works fine, But I have problems creating the alpha surface. I set the ddscaps.lcaps1 to DDSD_OFFSCREEN_PLAIN || DDSD_ALPHA but then I get an error when I create the surface.

Share this post


Link to post
Share on other sites
Advertisement
I am not sure if ddscaps.lcaps1 or DDSD_APLHA really exist but I am using only DD7 and newer version can support it. What error did you get?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!