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 »

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 »

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 »

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 »

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 »

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 »

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 462 times
Wojak
Party member
Posts: 134
Joined: Tue Jan 24, 2012 7:15 pm

Re: Share a Shader!

Post by Wojak »

florcaster (mod 7 like)
Something is a bit off though...
Attachments
shader.love
(1.86 KiB) Downloaded 492 times
User avatar
Ref
Party member
Posts: 693
Joined: Wed May 02, 2012 11:05 pm

Re: Share a Shader!

Post by Ref »

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 538 times
Wojak
Party member
Posts: 134
Joined: Tue Jan 24, 2012 7:15 pm

Re: Share a Shader!

Post by Wojak »

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 478 times
User avatar
Jasoco
Inner party member
Posts: 3655
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Share a Shader!

Post by Jasoco »

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: Google [Bot] and 10 guests