Problem with blending
Hello,
I can''t define correctly the blending intensity, it''s all the time too transparent
did you have any idea how I can correct it ?
I do this in InitGL
glDepthFunc(GL_LEQUAL);
glEnable(GL_DEPTH_TEST);
glClearDepth(1.0);
glShadeModel(GL_SMOOTH);
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
glColor4f(1.0f,1.0f,1.0f,0.5f); // changing the alpha doesn''t change the blending intensity
glBlendFunc(GL_SRC_ALPHA,GL_ONE);
thanks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement