OpenGL Discussion and Help Forums
OpenGL coding: beginners
> blend the white out and not the black?
View Full Version :
blend the white out and not the black?
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?
05-08-2003, 01:29 PM
Instead of GL_ONE as the destination parameter use GL_ONE_MINUS_SRC_ALPHA
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.