what function should I use to load an RGBA texture?
You can try loading TGA. It is capable of RGB with an alpha channel. The format is quite simple for the uncompressed version, after reading the header the only thing you have to do is to swap the Reb with the Blue.
There are some loaders available. The one at
Seems to be fairly complete.
No-ones supposed to go there anymore! I’m taking that page down.
The ‘proper’ address is:
Oh, and thank for the compliment