i know the function glBlendFunc(GL_SRC_ALPHA,GL_ONE) blends out the darker colors, but is there a blending function to blend out the lighter colors?
Instead of GL_ONE as the destination parameter use GL_ONE_MINUS_SRC_ALPHA
i know the function glBlendFunc(GL_SRC_ALPHA,GL_ONE) blends out the darker colors, but is there a blending function to blend out the lighter colors?
Instead of GL_ONE as the destination parameter use GL_ONE_MINUS_SRC_ALPHA