hello , i been trying to use your gui library for developing guis in some 3d apps ive been working on , the problem is in my 3d app im using this commands:
glLightfv (GL_LIGHT0, GL_POSITION, lightOnePosition);
glLightfv (GL_LIGHT0, GL_DIFFUSE, lightOneColor);
glLightfv (GL_LIGHT1, GL_POSITION, lightTwoPosition);
glLightfv (GL_LIGHT1, GL_DIFFUSE, lightTwoColor);
glColorMaterial (GL_FRONT_AND_BACK, GL_DIFFUSE);
and when i add those to the app, the gui elements appears black, so the text arent noticiable, also when i use the gui library the 3d elements appears with other kind of lighting , it seems that the gui library affects the original lighting.
i uploaded these pics of a simple example:
this is the way the 3d elements should look :
and when i add the 3d gui library , the gui elements appears black and also the spheres lighting change :
Any idea why is this and how to solve this?
thanks in advace