Version 1.1
Version 1.1 brings a lot of new features to post processing library. First of all a bunch of new shaders have been added to the library, which are useful for 3D and 2D scenes. Here is a list of the new shaders:
Color
- Brightness and Contrast Shader
- Saturation and Vibrance Shader
- Invert Shader
- Grayscale Shader
Reconstruction
- Denoise Shader
Effects
- Bloom Shader
- Pixelate Shader
- Chromatic aberration shader
- Noise Shader
- Vignette Shader
- RGB Split Shader
The second new thing is, that the library now works on the default graphics object (onscreen buffer g
). So now it is not needed to draw your scene onto a canvas anymore. Just run following code:
// in setup
NegatePass negatePass = new NegatePass();
// in draw
fx.render()
.invert()
.compose();