Re: Ignoring texture alpha

[email protected]
Newsgroups gmane.games.devel.opengl
Organization Fat City Network Services, San Diego, California
Message-ID <[email protected]>
Why don't you duplicate the texture in that case ?? Keep your original 
with the alpha channel and make a copy wihout and use that. Would this be 
possible ??

Pascal Gane

[email protected] wrote on 10/03/2005 09:36:22:

> 
> 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).



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[email protected]

This footnote also confirms that this email message has been checked
for all known viruses.

**********************************************************************
Sony Computer Entertainment Europe

----- 
FAQ and OpenGL Resources at:
  http://www.geocities.com/SiliconValley/Hills/9956/OpenGL

-- 
Author: 
  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).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.