Quantcast
Viewing all articles
Browse latest Browse all 1768

Re : How to use a fragment shader on a PGraphics in Processing 2.0xx?

Thank you andres. It works! Image may be NSFW.
Clik here to view.


I also see now where the error was in my test code. I called pg.filter(shader) outside beginDraw-endDraw.

Now that you have shown how to apply it correctly, it works fine.


Viewing all articles
Browse latest Browse all 1768

Trending Articles