PDA

View Full Version : Question about RGBA/Alpha Value



Ace_Man
11-04-2000, 07:33 PM
I'm trying to add an alpha channel to a bitmap (or simulate it at least).

I use auxDIBImageLoad(path) to load my bitmap...I don't know how to use the info (height,width) available from it's return value.

I can use the bitmap (texture with it) but I thought I might create an array that could hold all the data from the bitmap (and I could then add alpha values for each pixel.

This can't be that difficult (at least I hope) .Any suggestions on how I could set up a loop to read/test the pixel values?