[Gtkradiant] [Bug 900] image plugin puts garbage in alpha component of .jpg files

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Thu, 23 Oct 2003 13:05:56 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=900





------- Additional Comments From rfm@collectivecomputing.com  2003-10-23 13:05 -------
clip shaders = qer_trans
qer_trans = gl blend
JA common textures = .jpg
all textures are RGBA internally, so the textures alpha channel will show up if
you use qer_trans. What the user described in that thread sounds very much like
I saw using a .jpg with qer_trans. Although the alpha channel is uninitialized,
it would frequently come out 0 for the first load on release builds. If you
flush and re-load, you get some random junk in there, and can see the texture,
but with various patterns in it. 

I guess if the textures actually disappear without him re loading the shaders,
then there is another bug involved as well, but if he is using .jpg files and
qer_trans, he is seeing this.