I want to draw a glutSolidSphere with some transparency, but it does not work.
glColor4f(1, 0, 0, 0);
In my main function, I initialize the following display mode:
glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA | GLUT_ALPHA);
What am I missing here?
source share