Unlocking the GPU Power on openFrameworks with some of this GLSL Shaders Effects
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with kalwalt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example-blur
example-blurFast
example-conway
example-flocking
example-fluid
example-glow
example-grayscott
example-mask
example-oldTV
example-waterWave
example-wireworld
src
.gitignore
LICENSE.txt
README.md

README.md

ofxFX

This addons originaly born while I was working on Efecto Mariposa and I need to do fast GPU image processing throught GLSL Shaders. Basically they are well-known algorithms re-writed on GLSL version 120 for ARB rectangular textures. They could be optimized A LOT so feel free to collaborate or add more of them.

Portability

Each ofxFX class have a fragment, vertex o geometry Shader embebed on it´s code. So you don´t need to add any kind of .frag , .vert or .geom on your /data forlder

Coherence

The implementation of each ofxFX class it´s consistent with each other. All of them are extensions of ofxFXObject

  • All of them need to be allocated first in order to fx.allocate(width,height);

  • All of them have a ofxFbo style. So you can draw or render directly inside of them. Allowing you to easyly interact with them

ofEllipse(50,50,10,10);
fx.end();```

Watch some of this classes in action [HERE](http://www.patriciogonzalezvivo.com/blog/?p=488)

![ofxFlocking](http://patriciogonzalezvivo.com/images/flock.png) ![ofxFluid](http://patriciogonzalezvivo.com/images/fluid.png) ![ofxGlow](http://patriciogonzalezvivo.com/images/oldTv.png) ![ofxGrayScott](http://patriciogonzalezvivo.com/images/grayScott.png) ![ofxWater](http://patriciogonzalezvivo.com/images/water.png)