homeBlog | Tags | Archives | Projects | Stats | Contact

OpenGL, Static Arrays and glMaterialfv

Jul 19, 2009

no comments

I stumbled upon weird behavior of OpenGL: I was setting material properties with glMaterialfv and for some reason this did not change the parameters if done multiple times in succession. I.e. when I drew two versions of the same object on the screen side by side with different material parameters, they both looked the same.