PDA

View Full Version : Invisible blend mode?



halo
12-11-2004, 04:13 PM
Is there a glBlendFunc that will make the rendered material completely invisible? I want a "disabled" blend mode that still renders, but doesn't make any change to the framebuffer.

Inquisitor
12-12-2004, 02:29 PM
Perhaps
::glBlendFunc(GL_ZERO,GL_ONE);
is what you want.

Bob
12-13-2004, 08:02 AM
glColorMask is used to disable writes to the color buffer.