I was wondering if anyone would have some idea about the following problem :
I've got a bunch of objects, some of which use vertex colors, some of the don't. On ATI Radeon 9700 everything is fine. When testing on GeForce2/4/FX, I've got weird color flickering happening on some of the objects that do not use vertex colors.
I've checked everything I could think of :
* when I disable completely the use of vertex colors, the flickering goes away.
* when I force the current color (using glColor3f), just before pushing the triangles of the non-VC objects (the real color setup is done many cycle before, it is part of a complex shader setup), the flickering goes away and the color is the constant color given.
* when I disable texturing, the flickering is still here...
The 'patch' I managed to find out, is to call the following code just before pushing the triangles to the card :
That fixes the flickering of all GeForce boards... I can't see any logical explanation of this to work, as, virtually, he preceding code should result as a logical NOP...Code :float color; glGetFloatv(GL_CURRENT_COLOR, color); glColor4fv(color);
Did anyone encounter this situation, or have an explanation ?
BTW, I'm using 45.23 drivers, I've checked with older drivers, the same problem happened...