rendering 2d alpha
Blitz3D Forums/Blitz3D Programming/rendering 2d alpha
| ||
is there an easy way of loadimaging a 32bit alpha png and rendering it onto a new image containing a background? When i use drawimage the alpha channel is creating rainbow patterns. Loads ok as a texture tho' |
| ||
You would have to either read the alpha data yourself, or draw a Textured quad. Blitz 2D functions don't support alpha at all. |
| ||
awwwww :( hehe ill just have to shell to a max app to do it (its only for image compilation so doesnt need 2 be quick) |
| ||
Won't change anything. After rendering, alpha data is lost as backbuffer does not contain any alpha information. Or do you just mean overblend? (color mixing) in this case you can simply use Sprites and position / scale them correctly and grab from backbuffer. |