Have you ever been in this situation? You have created the best game ever (really this time), but you feel that there is something missing? The graphics are just too sharp, too saturated, too dull, too ... boring? You have seen all these awesome demos in this thread but just cant wrap your head around shaders?
shine to the rescue!
shine is a repository of easy to use postprocessing effects for LÖVE. All it takes are three lines of code:
Code: Select all
local shine = require 'shine'
blur = shine.boxblur()
blur(function() draw_my_stuff() end)
Code: Select all
blur.radius = 3
Code: Select all
hipster = desaturate:chain(grain):chain(vignette)
EDIT:
As promised: A demo! It shows all currently implemented effects (click on "Effect" to open a list of effects). You can play around with the parameters to see how they affect the effect. Have fun!
EDIT2:
New demo: glow, adjustable grainsize in filmgrain and second image