zhangjunyue
05-20-2004, 06:07 PM
When rendering transparency object, I select blend mode as follows:
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
While rotating camera, I find some black patch on the transparency object.
After try other blend parameters, it seems that
glBlendFunc(GL_SRC_ALPHA, GL_ONE) work in the certain condition. But it will lost transparency object due to blend with background color.
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
While rotating camera, I find some black patch on the transparency object.
After try other blend parameters, it seems that
glBlendFunc(GL_SRC_ALPHA, GL_ONE) work in the certain condition. But it will lost transparency object due to blend with background color.