glBlendFunc(GL_ONE,GL_ONE); glBlendEquation(GL_MAX_EXT); glEnable(GL_BLEND);