First I must finish this work and after this will see ... I have modified some c2 file... but will try this work with old glmatrix 1.0.1
You can now load your texture; and compile button is enabled; this mean you get some errors if the shader is not correct written; but test this.
Don't forget texture must Power of Two size; 2x2,4x4,8x8,16x16,32x32,64x64,128x128 and so on ....
texture(iChannel0,uv) not working for me this is the reason why it's replaced
by texture2D(iChannel0,uv) for example ;
http://gigatron3k.free.fr//html5/C2/plugin/st/
Regards
Here is simple shader example to play with uniform ;
uniform float it;
void mainImage( out vec4 fragColor, in vec2 fragCoord ){ vec2 uv = fragCoord/iResolution.xy; vec3 col = texture2D(iChannel0,uv).xyz*it; fragColor = vec4(col,1.0); }
After loading texture in slot0=iChannel0 you can play with uniform
name = it ;value 0.5 for example to have an intensity of texture