Adjustment Patch

Is there a way to create a patch that can have an overall effect on what is being drawn in the main window? Like an "Adjustment" patch. The idea would be to pipe in a filter(s) that would augment the entire composition instead of just one sprite or billboard.

cwright's picture
Re: Adjustment Patch

To accomplish this, you'll want to plop everything inside of a Render In Image patch, and then filter the output. This will give you the control you're looking for, without needing anything new.

Since all rendering takes place via openGL, it's extremely unlikely that an alternative solution to this would be possible.

A somewhat hack-esq solution would be to use the readPixels patch from GLTools, filter the output, and then redraw it on the screen as the top-most layer.