← Back

ofxPostGlitch

github.com/aaronsherwood/ofxPostGlitch · @aaronsherwood
OF 0.7 Graphics Shaders

Applies glitch and color-remap post-processing effects to an openFrameworks FBO, including convergence, glow, slitscan, noise, and more.

0 0 Last commit 7y ago Created 7y ago

README

ofxPostGlitch

This add-on applies a glitch effect to the FBO using openFrameworks. We recommend using openFrameworks v0073 or later.

Usage :

You need at least two classes 'ofFbo' and 'ofxPostGlitch' to use it.

ofFbo myFbo; ofxPostGlitch myGlitch;

In the Setup(), you should give FBO's pointer to ofxPostGlitch instance. Then allocate the FBO.

void testApp::setup(){ myFbo.allocate(640,480); myGlitch.setup(&myFbo); }

Choose wether to apply effect or not with the setFX function. After that use generateFX function and apply all enabled effects.

void testApp::update(){ myGlitch.setFx(OFXPOSTGLITCH_CONVERGENCE,true); }

void testApp::draw(){ myGlitch.generateFx(); myFbo.draw(0,0); }

More details can be found in the example project file.

Glitch FXs

Color remap FXs

Developer info

maxilla inc. http://maxilla.jp

maxilla cult http://cult.maxilla.jp# ofxPostGlitch

Get this addon

HTTPS
SSH