PDA

View Full Version : blend the white out and not the black?



c_olin
05-08-2003, 01:09 PM
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?

dorbie
05-08-2003, 01:29 PM
Instead of GL_ONE as the destination parameter use GL_ONE_MINUS_SRC_ALPHA