Share a Shader!

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Zilarrezko
Party member
Posts: 345
Joined: Mon Dec 10, 2012 5:50 am
Location: Oregon

Re: Share a Shader!

Post by Zilarrezko » Fri Jun 20, 2014 2:27 pm

Tanner wrote:Love's default shaders are actually open-source! You can just look at the whole shader program yourself here: https://bitbucket.org/rude/love/src/585 ... ua#cl-1294 :)
Alright, Come get a hug. You know you want one.

This has what I need in it, thank you!

P.S. what is with that ridiculous file name in there?

User avatar
Tanner
Party member
Posts: 166
Joined: Tue Apr 10, 2012 1:51 am

Re: Share a Shader!

Post by Tanner » Fri Jun 20, 2014 2:33 pm

Zilarrezko wrote:P.S. what is with that ridiculous file name in there?
I assume to mean the base-64 encoded vera font. Love embeds all of its default assets like that for packaging simplicity (I assume).

User avatar
Zilarrezko
Party member
Posts: 345
Joined: Mon Dec 10, 2012 5:50 am
Location: Oregon

Re: Share a Shader!

Post by Zilarrezko » Thu Jul 17, 2014 12:14 am

I'm curious to see if anyone has fiddled with a datamoshing shader. Just sayin'

User avatar
RedHot
Citizen
Posts: 87
Joined: Mon May 27, 2013 2:43 pm
Location: Poland

Re: Share a Shader!

Post by RedHot » Mon Aug 04, 2014 9:38 pm

What's a datamoshing shader?

User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: Share a Shader!

Post by Ranguna259 » Mon Aug 04, 2014 11:12 pm

LoveDebug- A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping :D

Check out my twitter.

User avatar
SuperZazu
Citizen
Posts: 56
Joined: Sun Jun 10, 2012 2:06 pm
Location: France
Contact:

Re: Share a Shader!

Post by SuperZazu » Fri Aug 22, 2014 7:36 am

Hey !

Here's a little "3D glasses" effect from a friend of mine :) (controls: up and down to toggle shader)
[SCREENSHOT 1] [SCREENSHOT 2]
Attachments
3Dglasses.love
(365.12 KiB) Downloaded 428 times

Wojak
Party member
Posts: 134
Joined: Tue Jan 24, 2012 7:15 pm

Re: Share a Shader!

Post by Wojak » Fri Aug 22, 2014 11:46 am

florcaster (mod 7 like)
Something is a bit off though...
Attachments
shader.love
(1.86 KiB) Downloaded 458 times

User avatar
Ref
Party member
Posts: 690
Joined: Wed May 02, 2012 11:05 pm

Re: Share a Shader!

Post by Ref » Fri Aug 22, 2014 2:27 pm

Just when I thought I was getting a handle on GLSL!
Don't have a clue as to how this shader works.
Anyone have any ideas?
Attachments
inkblot.love
Mandelbrot shader
(1.85 KiB) Downloaded 504 times

Wojak
Party member
Posts: 134
Joined: Tue Jan 24, 2012 7:15 pm

Re: Share a Shader!

Post by Wojak » Tue Aug 26, 2014 1:26 pm

New version of the one 2 post above:
-fixed it
-added a ceiling
-added mouse look
-looking up/down
-flying up/down
controls:
w – forward
left shift – down
space – up
mouse - looking around
Attachments
floorcaster2.love
(2.54 KiB) Downloaded 441 times

User avatar
Jasoco
Inner party member
Posts: 3651
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Share a Shader!

Post by Jasoco » Tue Aug 26, 2014 7:46 pm

It's a neat start. And it replicates the effect from later Wolf clones perfectly. But can you make it do more than one texture on the same plane? Right now it's just tiling one texture over and over.

Post Reply

Who is online

Users browsing this forum: slime and 43 guests