Ignoring texture alpha
"Bill Pullan" <[email protected]>
| Newsgroups | gmane.games.devel.opengl |
|---|---|
| Organization | Fat City Network Services, San Diego, California |
| Message-ID | <[email protected]> |
Hi, I have a texture which is of the format GL_RGBA and there is information in the alpha channel. The problem is that I want to ignore the alpha channel when drawing, but still use vertex colour/alpha. I can't seem to find any way to do this via the texture functions. At the moment I'm using GL_MODULATE but I get C=CfCt and A=AfAt, but I want C=CfCt and A=Af. I can't change the texture to GL_RGB as I actually render it using the alpha channel in other places. Any ideas? cheers, Bill. ----- FAQ and OpenGL Resources at: http://www.geocities.com/SiliconValley/Hills/9956/OpenGL -- Author: Bill Pullan INET: [email protected] Fat City Hosting, San Diego, California -- http://www.fatcity.com --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [email protected] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).