Page 1 of 1

Converting a Shader from pure GLSL?

Posted: Sun Dec 14, 2014 5:45 pm
by Andynonomous
Hi guys, I'm just starting to learn how to use shaders and hope to learn eventually to write my own shaders, but for now my question is this:

Is it generally possible to convert any glsl shader effect into one that will work with LOVE? Or are there some cases where converting a shader to a LOVE compatible one is not feasible?

The shader I'm specifically curious about is this one: https://www.shadertoy.com/view/4dXGR4

I'd appreciate any advice anyone could offer. Thanks!

Re: Converting a Shader from pure GLSL?

Posted: Sun Dec 14, 2014 8:08 pm
by s-ol
Andynonomous wrote:Hi guys, I'm just starting to learn how to use shaders and hope to learn eventually to write my own shaders, but for now my question is this:

Is it generally possible to convert any glsl shader effect into one that will work with LOVE? Or are there some cases where converting a shader to a LOVE compatible one is not feasible?

The shader I'm specifically curious about is this one: https://www.shadertoy.com/view/4dXGR4

I'd appreciate any advice anyone could offer. Thanks!
the shadertoy-like shaders (fragment only) should always be convertable, but other ones might not be because we can't set the whole vertex info (only x, y, u, v and color)

Re: Converting a Shader from pure GLSL?

Posted: Sun Dec 14, 2014 8:59 pm
by Andynonomous
Thanks! I just didn't want to spend time trying to learn to convert it if it wasn't going to be possible in the end. Thanks again and wish me luck!