🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
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
OK thanks for that. As soon as we get FTP access back I plan to go through and fix some of these little bugs in the old tutorials. Thanks for your help.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement