Skip to main content
gamedev.net
🔒 Locked

alpha blits

Started by mcfc98 Mar 6, 2000 at 5:30 AM 4 replies 650+ views
Original Post
mcfc98
mcfc98
It seems that 2d blitting in directdraw doesnt contain any alpha blending support. Does anyone know how i can implement this efficiently or can point me to some articles that deal with this sort of thing? i could use d3d but i need the 2d images to be any size possible and also use font images.
Matthew Allen
Matthew Allen
Alpha blending in software (not D3D) will be extremely slow because it must take place in system memory. Exceptions: you already have your surfaces in system memory OR you have a fast AGP card. If you do have AGP, I''d suggest that you test your code on a non-AGP card. As for code/examples, there''s one here on gamedev (it was one of the first featured articles) and there are a couple on tune-it.com

- mallen22@concentric.net
- http://www.cfxweb.net/mxf/
mcfc98
mcfc98
Ive done it in d3d now but thanks all the same.
Melo
Melo
The posts above did not mention this Article...
Melo
Melo
Whoops - it was mentioned. But well, who cares

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.