OpenGL Transparency
For some reason, when I try to use transparency as in glColor4f(..., ..., ..., 0.5), the primitives that are drawn next are still solid. Any ideas why that is? Here''s how I''m enabling it...
glEnable(GL_ALPHA_TEST);
glAlphaFunc(GL_ALWAYS, 0);
The Alpha test tests each fragment if it''s accepted or not. But if you want to blend two colors, you must use glBlendFunc()
Visit our homepage: www.rarebyte.de.st
GA
Visit our homepage: www.rarebyte.de.st
GA
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement