Extracting Alpha Bit from a texture

Blitz3D Forums/Blitz3D Beginners Area/Extracting Alpha Bit from a texture

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks folks - managed to fix this by just using the argb from readpixel "or $ff000000" which works.

It's a bit of a pain that when using flag 2 to create a texture that it does not read any argb at all for the text I print on it. The argb value is always 0 for some reason.

I had to temporarily write text to an image and readpixel from this to ensure I got an argb > 0 to add alpha too.

Not sure if that made any sense but is there a way of doing this without using that temp image?