From: Brian P. <bri...@tu...> - 2006-11-17 15:10:18
|
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 |