Re: Texture Combine not supported? Why?

Brian Paul <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
James Supancic wrote:
> Texture Combine not supported? Why?
> 
> I have an OpenGL program that isn't rendering properly, the print SPU
> tells me that it is calling:
> TexEnvi( GL_TEXTURE_ENV, GL_SOURCE0_RGB, GL_TEXTURE )
> TexEnvi( GL_TEXTURE_ENV, GL_OPERAND0_RGB, GL_SRC_COLOR )
> TexEnvi( GL_TEXTURE_ENV, GL_SOURCE1_RGB, GL_PRIMARY_COLOR )
> TexEnvi( GL_TEXTURE_ENV, GL_OPERAND1_RGB, GL_SRC_COLOR )
> TexEnvi( GL_TEXTURE_ENV, GL_COMBINE_RGB, GL_MODULATE )
> TexEnvi( GL_TEXTURE_ENV, GL_RGB_SCALE, GL_LINES )
> TexEnvi( GL_TEXTURE_ENV, GL_SOURCE0_ALPHA, GL_TEXTURE )
> TexEnvi( GL_TEXTURE_ENV, GL_OPERAND0_ALPHA, GL_SRC_ALPHA )
> TexEnvi( GL_TEXTURE_ENV, GL_SOURCE1_ALPHA, GL_PRIMARY_COLOR  )
> TexEnvi( GL_TEXTURE_ENV, GL_OPERAND1_ALPHA, GL_SRC_ALPHA )
> TexEnvi( GL_TEXTURE_ENV, GL_COMBINE_ALPHA, GL_MODULATE )
> TexEnvi( GL_TEXTURE_ENV, GL_ALPHA_SCALE, GL_LINES )
> 
> I noticed that the Chromium documentation says
> "Texture Combine test (Test number #85) not supported (not an error)."
> 
> I noticed that the above shows that the program is setting the
> GL_COMBINE_RGB and GL_COMBINE_ALPHA.
> 
> Could the problem with my program be related to the lack of support
> for Texture Combine? If yes, why isn't this supported?

GL_ARB_texture_env_combine is supported.  The results from the 
conformance tests haven't been updated in quite a while.

-Brian


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
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.