Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/genekogan/Processing-Shader-Examples
A collection of GLSL shaders and how to use them in Processing sketches
https://github.com/genekogan/Processing-Shader-Examples
Last synced: about 2 months ago
JSON representation
A collection of GLSL shaders and how to use them in Processing sketches
- Host: GitHub
- URL: https://github.com/genekogan/Processing-Shader-Examples
- Owner: genekogan
- Created: 2014-01-29T21:53:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-27T00:14:13.000Z (almost 3 years ago)
- Last Synced: 2024-07-18T03:42:28.725Z (2 months ago)
- Language: GLSL
- Size: 6.06 MB
- Stars: 258
- Watchers: 14
- Forks: 33
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Processing 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](glsl.heroku.com).
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](http://www.sojamo.de/libraries/controlP5/).