Hi All!
Okay, I've got 3 things - a sprite, a texture and an image. I've made the texture the same size as the image. The image has the background colour masked.
I open the texturebuffer for that texture and draw the image to it, however the background of the image when applied to the texture is not transparent.
Does anyone have a better way of allowing me to draw a certain image to a texture, while making the background of it transparent?
Okay, I've got 3 things - a sprite, a texture and an image. I've made the texture the same size as the image. The image has the background colour masked.
I open the texturebuffer for that texture and draw the image to it, however the background of the image when applied to the texture is not transparent.
Does anyone have a better way of allowing me to draw a certain image to a texture, while making the background of it transparent?