OpenGL Transparency

Started by
0 comments, last by SeanHowe 23 years, 11 months ago
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);
Advertisement
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.stGA

This topic is closed to new replies.

Advertisement