quote:
Original post by Mithoric
...when I want alpha the color white becomes transparent. Is there a way to specify another color to be transparent?...
Not in an easy way. Transparency is pulled out from texture's fourth channel (because you're using RGBA, right?) and this works fine in most cases. You'll have to change contents of this channel if you want to change what pixels disappear.
You could use a fragment program to change how alpha is handled but I don't see any good reason to do it.
quote:
Original post by Mithoric
...Or perhaps someone can help me to load png files, it seems to be a bit complex and all the loaders I find need the libraries...
Well, this is not a problem with the file format, however, if you want to get the rid of .tga and go for .png, much better!
Using png is very easy. You can make it work in two days. I can't tell you how right now (I'm in hurry) but I am sure someone will. If they do not, my email is public on my profile.
EDIT: added thing about fp.
[edited by - Krohm on September 20, 2003 1:23:08 PM]