Alpha Pixel
BlitzPlus Forums/BlitzPlus Programming/Alpha Pixel
| ||
How do you draw a pixel with alpha, and how do you control how much alpha it's drawn with? |
| ||
You can't using native commands - if that's what you meant. If you want to do this you'll have to write your own commands. Basically, it's like: read pixel from buffer...read pixel and alpha value from sprite...blend colors...write pixel. Hope that helps at all. M |
| ||
Oh, alright. Thanks. |
| ||
Jay there's some alpha plotting code in the Code Archives... |
| ||
Right, sorry, should have mentioned that in my post. I did some of my own functions just to experiment but I believe there is some stuff in blitzcoder.com and blitzbasic.com archives. Never tried any of it out but I'm sure it's good. Can't remember who all did it but maybe BugFaceUK on BC has some in his graphic library. M |