I use ES2 SDK on WINXP.
When I using glBlendFunc() function with GL_ONE_MINUS_DST_ALPHA or GL_DST_ALPHA
GL_ONE_MINUS_DST_ALPHA works like GL_ZERO and GL_DST_ALPHA works like GL_ONE
DST alpha value does not applied
glBlendFunc(GL_DST_ALPHA, GL_ZERO);
glEnable(GL_BLEND);
glClearColor(1.0f, 1.0f, 1.0f, 0.1f);
glClear(GL_COLOR_BUFFER_BIT);
glDrawArrays(GL_TRIANGLES, 0, 3);
glEnable(GL_BLEND);
glClearColor(1.0f, 1.0f, 1.0f, 0.1f);
glClear(GL_COLOR_BUFFER_BIT);
glDrawArrays(GL_TRIANGLES, 0, 3);
even alpha value of clear color is 0.1f result sfactor is 1.0f
k2cdda2008-04-14 10:44:08