CreateTexture function and transparent background
Blitz3D Forums/Blitz3D Programming/CreateTexture function and transparent background
| ||
It is posssible to create a texture like : MyText=CreateTexture() But with a transparent background ? because i want make texture with text but without background. |
| ||
Yes, use the masking flag and see a recent thread here about masking pixels. |
| ||
Thanks Halo |
| ||
Or WritePixel will write pixels including alpha values if you need full alpha. |
| ||
Or Save texture and reload it with alpha and/or Mask flags set. |
| ||
I tried that, but it just worked by reloading the texture - if there is better way, I'd appreciate a link to the thread Halo mentioned. |
| ||
This one? http://www.blitzbasic.com/Community/posts.php?topic=37139 |