How to change the OpenGL blend mode directly?

edited January 2015 in How To...

I'm looking to do a background invert filter for geometry (not post fx) and I've been told I can accomplish this by either:

a) multipass rendering, using a frame buffer and a shader.

b) change the openGL blend mode as suggested here.

Can someone tell me if b is possible using processing, and how? I know it's something to do with the opengl library wrapper in the graphics class but my attempts to use it have failed.

Thanks!

Tagged:

Answers

Sign In or Register to comment.