Page 1 of 1

Small Shader Effect Applier

Posted: Fri May 23, 2014 8:07 pm
by HugoBDesigner
Made for a friend of mine that wanted shader effects in images. Nothing too fancy, though. Credits to Maurice Guégan (creator of Mari0 and other games from Stabyourself.net) for the shaders code and the shaders themselves (I don't know who made the shaders, but it was in his game, so yeah).

F3: Takes a screenshot
Tab: Switches between images
Left/Right: Changes shader 1
[SHIFT] Left/Right: Changes shader 2
[HOLD] Enter: Shows small information
Esc: Exit (pretty obvious)

To add images, you can either place them inside the .love file or in "%appdata%/LOVE/Shadder Effect/images" (you may have to create the folder). To add new shaders, put them in "%appdata%/LOVE/Shadder Effect/shaders". To get the images with the effect already, get them in "%appdata/LOVE/Shadder Effect/screenshots".

SHADERS ARE NOT SUPPORTED IN ALL COMPUTERS! IT'S NOT SUPPORTED IN MINE, FOR EXAMPLE.
If you want, you can modify this code as much as you want, still giving credits to me. It is licensed under Creative Commons 3.0

Works for LÖVE 0.8.0, 0.9.0 and 0.9.1 (I LÖVE doing retro-compatibility)

NOTE: There are 2 default images there, made by myself, just to fill empty space. You can still add yours.


EDIT: New download, it's the further I could get with this. It should work, but I can't test it on my own computer;
DOWNLOAD

Re: Small Shader Effect Applier

Posted: Fri May 23, 2014 9:30 pm
by alesan99
HugoBDesigner wrote:Credits to Maurice Guégan (creator of Mari0 and other games from Stabyourself.net) for the shaders code and the shaders themselves (I don't know who made the shaders, but it was in his game, so yeah).
I believe slime made them

Anyway it doesn't work on love 0.9.0 and 0.9.1 because pixel effects were removed (renamed?).

Re: Small Shader Effect Applier

Posted: Fri May 23, 2014 9:37 pm
by HugoBDesigner
alesan99 wrote:
HugoBDesigner wrote:Credits to Maurice Guégan (creator of Mari0 and other games from Stabyourself.net) for the shaders code and the shaders themselves (I don't know who made the shaders, but it was in his game, so yeah).
I believe slime made them

Anyway it doesn't work on love 0.9.0 and 0.9.1 because pixel effects were removed (renamed?).
Yup, and it also doesn't work for some other reason. I'm trying to fix it, but I honestly don't know what's happening. Anyway, here's the more up-to-date file:

https://www.dropbox.com/s/ww1mjdt8m1r8d ... ffect.love

Re: Small Shader Effect Applier

Posted: Fri May 23, 2014 9:58 pm
by HugoBDesigner
Guys, I need some help. My computer doesn't render shaders, so I asked a friend to test this for me. I spent over an hour trying to fix it, and we still couldn't get it to work. I don't know much about shaders either. Could someone please help? Here's the latest version, by the way:

https://www.dropbox.com/s/ww1mjdt8m1r8d ... ffect.love

Any help is appreciated!

Re: Small Shader Effect Applier

Posted: Tue May 27, 2014 6:26 pm
by dusoft
HugoBDesigner wrote:Guys, I need some help. My computer doesn't render shaders, so I asked a friend to test this for me. I spent over an hour trying to fix it, and we still couldn't get it to work. I don't know much about shaders either. Could someone please help? Here's the latest version, by the way:

https://www.dropbox.com/s/ww1mjdt8m1r8d ... ffect.love

Any help is appreciated!
Works for me in 0.9.1 on KUbuntu Precise.

Re: Small Shader Effect Applier

Posted: Wed May 28, 2014 12:31 am
by HugoBDesigner
dusoft wrote:
HugoBDesigner wrote:Guys, I need some help. My computer doesn't render shaders, so I asked a friend to test this for me. I spent over an hour trying to fix it, and we still couldn't get it to work. I don't know much about shaders either. Could someone please help? Here's the latest version, by the way:

https://www.dropbox.com/s/ww1mjdt8m1r8d ... ffect.love

Any help is appreciated!
Works for me in 0.9.1 on KUbuntu Precise.
Thanks for letting me know! Really! I updated the main post and added this link there too :ultraglee: