Archived

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

Bliting alpha surfaces in DirectDraw

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

DirectDraw doesn''t support hardware alpha blending (semi-transparent) so any type of alpha blending you wish to do would have to be software. There are a few articles here on Gamedev that can get you started if you want to write your own alpha blending routines. However, if you only have 1 color that you want to be transparent you can use color keys. I haven''t worked with a range of color key values, but I hear it is possible in DirectDraw to have a range of colors be transparent. Most people will tell you to move to d3d or OpenGL to get the benefits of hardware alpha blending.


Evillive2
E-Mail

Share this post


Link to post
Share on other sites