I just got a new PC and I'm trying all the shaders on the thread (awesome stuff, btw), and that was my favourite one! I'm sorry it doesn't work for you I know that feel.
Anyway, this is what it looks like, just in case you wondered.
Share a Shader!
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Share a Shader!
Wow, I was thinking about something like this the other day for a space simulator (adding effects when meteorites/ships partially hide big stars in the background). It doesn't seem to work in all devices, but I guess it could be acceptable for it to "degrade gracefully" as long as the effect is kindof subtle.
When I write def I mean function.
Re: Share a Shader!
So here's a simple-as-can-be demo for the lightrays shader.
If this doesn't work, then it's very probably something in the shader. My 1st lightrays demo maybe has some other cruft that's stopping it from displaying.
Thanks for the comments everyone
It should look like this:
If this doesn't work, then it's very probably something in the shader. My 1st lightrays demo maybe has some other cruft that's stopping it from displaying.
Thanks for the comments everyone
It should look like this:
Re: Share a Shader!
Had some much fun with the lightrays shader. Absolutely brilliant!
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
Re: Share a Shader!
Alas, it does not.ioxu wrote:It should look like this:
Re: Share a Shader!
How disappointing Sorry about that.Clouds wrote:Alas, it does not.
Reading about it on the nets, I wonder if it has something to do with the loop inside the shader on your hardware.
Have you had any pixeleffects work on your gfx that use loops?
My fü is not strong enough to work out if this shader can be made without a loop.
Re: Share a Shader!
http://www.iquilezles.org/apps/shadertoy/
Cool shaders!
I have managed to get a lot of them working as pixeleffects with hardly any effort at all.
All I had to do was replace void main(void) with love's preferred vec4 effect() and change a few of the variable declarations.
The 3d apple is very nice.
Cool shaders!
I have managed to get a lot of them working as pixeleffects with hardly any effort at all.
All I had to do was replace void main(void) with love's preferred vec4 effect() and change a few of the variable declarations.
The 3d apple is very nice.
Re: Share a Shader!
Any change of providing a .love?ioxu wrote:The 3d apple is very nice.
Re: Share a Shader!
You can try this, but I don't have knowdlege to "port" the GLSL to LÖVESL or whatever is it nor a way to check if this works
- Attachments
-
- apple.love
- (34.52 KiB) Downloaded 351 times
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Share a Shader!
Nope!
Get a lovely black screen with a little white 2 in the upper left hand corner.
Get a lovely black screen with a little white 2 in the upper left hand corner.
Who is online
Users browsing this forum: Majestic-12 [Bot], zorg and 3 guests