blending problem

I have a problem with alpha blending
I enable the blend function with glEnable(GL_BLEND)
but when i enable the glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA) the command haven’t effect but if i do glBlendFunc(GL_SRC_ALPHA,GL_ONE) the alpha blending is correct … WHY???
Thanks a lot

How about some more information, like the OpenGL ES implementation you are using, and the color/alpha values you are using for blending?

I don’t understand what you have know ?
I use two passes , first pass i draw the opaque object leand with second i
but there isn’t effect, insted i use …GL_ONE all is ok

What hardware/device/renderer are you testing this on? What alpha values are you using? And what result are you expecting, given a transparent surface of a certain color on top of another surface?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.