VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: Alpha Blending Peter (5 replies, 0 views) (2001-Jul-20) Well, to alphablend in DirectDraw you'd need to do it by software, or go through it pixel by pixel and average the colours of the pixels etc ... It's quite slow, although it's interesting to see the code and understand how it works. There's a bitblt alpha-blending tutorial on http://voodoovb.thenexus.bc.ca
If you want a speedy alpha-blending implementation check out David's very own vbDABL (http://blackhole.thenexus.bc.ca) which is an excellent ASM dll that handles alpha-blending.
|