cansik / processing-postfx

A shader based postFX library for processing.
148 stars 13 forks source link

Run custom shader inside builder pattern #15

Closed cansik closed 7 years ago

cansik commented 7 years ago

The simple builder pattern should also allow running custom pass / shaders:

CustomPass myPass = new CustomPass();

fx.render(canvas)
        .brightnessContrast(0.1f, 1.0f)
        .custom(myPass)
        .compose(passResult);