I made a GLSL shader loader with ofelia. Most examples from http://glslsandbox.com work without modifications (like the examples that i included). While the examples from https://www.shadertoy.com do not work out of the box.
A lot of other shader examples do not work at all (perhaps because I did not modify them right?).
Or is it possibly because of the wrong GLSL version?
What I am searching for are mainly video effects, especially a video delay (something like that: ).
It would be great if there is already a shader like that which works with ofelia.
One question: Somehow Pure Data complains about a missing .vert file, but it is still working fine without. Can I make something like this:
void main()
{
gl_TexCoord[0] = gl_TextureMatrix[0]*gl_MultiTexCoord0;
gl_Position = gl_ModelViewProjectionMatrix*gl_Vertex;
}
as a .vert file dummy? At least it seems to work.
I set this GLSL variables in ofelia (because they fit to the sandbox examples):
uniform float time;
uniform vec2 mouse;
uniform vec2 resolution;