Sign in to follow this  
CronoMan

Alpha Channels in DDraw

Recommended Posts

CronoMan    122
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
risko    100
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this