User Tools

Site Tools


Sidebar



opengl

OpenGL

online glBlendFunc tester
remove a color from an image using blending
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_CONSTANT_COLOR);
glBlendEquation(GL_FUNC_REVERSE_SUBTRACT);
glBlendColor(1.000, 0.012, 0.012, 1.000); //red
opengl.txt · Last modified: 2014/11/23 16:33 (external edit)