Skip to content

Version 1.1

Compare
Choose a tag to compare
@cansik cansik released this 15 May 21:53
· 28 commits to master since this release

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();