Bug on NeHe lesson8
the blending won't happen unless you add a line to enable the blending:
glEnable (GL_BLEND); //enable blending mode
glColor4f(1.0f, 1.0f, 1.0f, 0.6); // Full Brightness. 50% Alpha
glBlendFunc(GL_SRC_ALPHA,GL_ONE); // Set The Blending Function For Translucency
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement