genekogan/Processing-Shader-Examples
About
A collection of GLSL shaders and how to use them in Processing sketches
Design & MediaMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalProcessing shader examples
This is a collection of GLSL shaders being run inside Processing. Some of them are generic ones (brightness/saturation/contrast filters, blur, edge detection, etc) and others are more experimental. A number of them are modifications of exmaples taken from GLSL Heroku.
In the Processing sketches, some shader parameters are routed to the position of the mouse, so as you move the mouse around inside the canvas, various properties of the shader graphics will change.
They fall into two categories:
Texture shaders
These are shaders which modify the pixels of a source image. In the example sketch, the source images are three image files and one movie.
Click the left and right buttons to scroll through the different shaders, and click up and down to change the source images.
Color shaders
These are shaders which create an image without any source. Click the left and right buttons to scroll through the shaders.
Shaders GUI
This is a combination of the color shaders and texture shaders with an added user interface to change parameters. Requires ControlP5 library.
Explore related projects
Loading…