Is it possible to create a texture/brush on the fly with alpha transparency?
For example. you have a flat surface, and a texture applied but the texture is transparent, making the surface transparent since there's nothing to see in the texture. Then you draw a line across the surface with an alpha of value of 128 so you can still see through it but there's something on the previously invisble surface now.
I know I could create a masked image and use backbuffertotex and then make that a texture to have masked transparency but I can't seem to find a way to use draw commands with alpha and be able to capture it. All the documentation I can find is from B3D and you just set the draw buffer to the texture's buffer, draw away then set it back to the backbuffer but BlitzMax doesn't support drawing anywhere but to the backbuffer it seems...
For example. you have a flat surface, and a texture applied but the texture is transparent, making the surface transparent since there's nothing to see in the texture. Then you draw a line across the surface with an alpha of value of 128 so you can still see through it but there's something on the previously invisble surface now.
I know I could create a masked image and use backbuffertotex and then make that a texture to have masked transparency but I can't seem to find a way to use draw commands with alpha and be able to capture it. All the documentation I can find is from B3D and you just set the draw buffer to the texture's buffer, draw away then set it back to the backbuffer but BlitzMax doesn't support drawing anywhere but to the backbuffer it seems...