I have a environment that's drawn, i want a 50% rect partially above it and then i want text drawn above it, the thing is that i seem not to be able to get my color anymore, what glBlendFunc options should be passed and do i put the glColor before or after that call?
/* draw polygons */
...
/* draw translucent polygon */
glColor4b(127,127,127,50);
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glBegin(GL_TRIANGLE_STRIP);
glVertex3f(4,15,1);
glVertex3f(4,477,1);
glVertex3f(635,15,1);
glVertex3f(635,477,1);
glEnd();
/* drawing text */
glBlendFunc(GL_ONE,GL_ZERO);
glDisable(GL_BLEND);
glColor4b(-100, 127, -108, 127); /* make everything appear in Green */
...
since i enabled blending, the font appears in black instead of the green color i selected



