[library] shine - post processing effects for everyone

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

[library] shine - post processing effects for everyone

Post by vrld »

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 :ehem:

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
(305.76 KiB) Downloaded 1343 times
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
User avatar
Jeeper
Party member
Posts: 611
Joined: Tue Mar 12, 2013 7:11 pm
Contact:

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

Post by Jeeper »

Simply amazing, well done!

I'm looking forward to trying it out :)
User avatar
Fenrir
Party member
Posts: 222
Joined: Wed Nov 27, 2013 9:44 am
Contact:

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

Post by Fenrir »

I'll definitely have a look! Nice work!
User avatar
undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

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

Post by undef »

Nice!
That's something I will definitely have a look at! :)
twitter | steam | indieDB

Check out quadrant on Steam!
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

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

Post by Roland_Yonaba »

That is outstanding. It sould like a good candidate for Hump, to me.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

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

Post by vrld »

Glad you like it!
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
User avatar
CaptainMaelstrom
Party member
Posts: 163
Joined: Sat Jan 05, 2013 10:38 pm

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

Post by CaptainMaelstrom »

I get this error:
error
error
capture.PNG (48.64 KiB) Viewed 18825 times
szensk
Party member
Posts: 155
Joined: Sat Jan 19, 2013 3:57 am

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

Post by szensk »

CaptainMaelstrom wrote:I get this error:
capture.PNG
AMD card?
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

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

Post by Roland_Yonaba »

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.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

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

Post by vrld »

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
Post Reply

Who is online

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