## [library] shine - post processing effects for everyone

vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

### [library] shine - post processing effects for everyone

Shine is a postprocessing effect repository for LÖVE.

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)
You can personalize your effects by just setting a value!

Code: Select all

blur.radius = 3
You can also chain multiple effects for maximum ... effect

Code: Select all

hipster = desaturate:chain(grain):chain(vignette)
The code is hosted on github as is the documentation.

Demo .love coming soon(ish).
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
Attachments
shine-demo.love
Last edited by vrld on Tue Jan 13, 2015 10:23 pm, edited 4 times in total.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine

Jeeper
Party member
Posts: 530
Joined: Tue Mar 12, 2013 7:11 pm

### Re: [library] shine - post processing effects for everyone

Simply amazing, well done!

I'm looking forward to trying it out

Fenrir
Party member
Posts: 222
Joined: Wed Nov 27, 2013 9:44 am
Contact:

### Re: [library] shine - post processing effects for everyone

I'll definitely have a look! Nice work!

undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

### Re: [library] shine - post processing effects for everyone

Nice!
That's something I will definitely have a look at!

Roland_Yonaba
Inner party member
Posts: 1561
Joined: Tue Jun 21, 2011 6:08 pm
Contact:

### Re: [library] shine - post processing effects for everyone

That is outstanding. It sould like a good candidate for Hump, to me.

vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

### Re: [library] shine - post processing effects for everyone

Roland_Yonaba wrote:It sould like a good candidate for Hump, to me.
I'd like to keep the projects separated - hump is much more mature than the infantile shine. I'd also like to make this sort of a collaborative project, where everyone who wants can join in and add new shaders - hence the (as of now defunct) section "How to add your effect to the repository" in the wiki.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine

CaptainMaelstrom
Party member
Posts: 150
Joined: Sat Jan 05, 2013 10:38 pm

### Re: [library] shine - post processing effects for everyone

I get this error:
error
capture.PNG (48.64 KiB) Viewed 4606 times

szensk
Party member
Posts: 155
Joined: Sat Jan 19, 2013 3:57 am

### Re: [library] shine - post processing effects for everyone

CaptainMaelstrom wrote:I get this error:
capture.PNG
AMD card?

Roland_Yonaba
Inner party member
Posts: 1561
Joined: Tue Jun 21, 2011 6:08 pm
Contact:

### Re: [library] shine - post processing effects for everyone

CaptainMaelstrom wrote:I get this error -[snip]-
I made a pull request where I included a small change to this shader. Can you give it a shot and see if it works for you ?
Last edited by Roland_Yonaba on Tue Jan 13, 2015 10:32 am, edited 1 time in total.

vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

### Re: [library] shine - post processing effects for everyone

Updated the demo. Does it work now?
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine

### Who is online

Users browsing this forum: Bing [Bot] and 4 guests