From: Ricardo O. <ro...@gl...> - 2002-03-06 16:43:02
|
How can I read a transparency texture??? I have tried to use a transparency gif, but i can't read it. when I try to use : glu.gluBuild2DMipmaps(GL_TEXTURE_2D, 4, texLoader.getImageWidth(), texLoader.getImageHeight(), GL_RGBA, GL_UNSIGNED_BYTE, texLoader.getTexture()); the browser crash. If I use GL_RGB, the browser don't crash. Somebody can say me a solution or / and an example ??? are there any other file type with trasparency that gl4java can load (jpg not support transparency)?? Tnak you. |