Experimental post-processing toolkit for Godot.
Video: https://www.youtube.com/watch?v=C4oMqvwJ4FU
This project provides a couple of nodes:
SugarLayer(CanvasLayer) - works with both - 2D and 3D scenesSugarQuad(MeshInstancewith1x1quad) - works with 3D scenes only
which apply selected effect to the entire screen:
None- no effectBlurr- applies blurr effectPixelate- pixelate effect - provides a pixel-art look in runtimeGrayscale- changes colors to grayscaleSepia- applies sepia effectGrain- adds/removes/mixes-in a grain (open simplex noise) effectPalette- changes color palete (with optional dithering effect)Lut- changes color space using lookup table (LUT)Darken- makes scene darkerDepth- shows depth bufferOutline- draws the outline using depth buffer (it gives a poor effect with artifacts for now)
This Godot addon is experimental and it may even crash the entire editor. I recommend to use it with care - for prototyping purposes only.
- Get the contents of this repository to your project's
res://addons/godot-sugardirectory:- either download
- or clone
- or add as a submodule:
git submodule add https://github.com/Scony/godot-sugar.git addons/godot-sugar
- Enable plugin in
Project Settings/Plugins
After enabling the plugin in the Project Settings you can add eiter SugarLayer or SugarQuad3D:
and once it's done, you can select Effect in ispector and tweak parameters under Parameters->Shader Param.
