It would be dope to have something like interactiveshaderformat with the ability to save as effect file.
I need to learn more about shaders. Your making outstanding work with construct2.
Sure , and thanks for your kind words glad you like it ...
ok now you can change vec3 float uniforms and load texture, i used normal C2 glwrap.js file it still works.
But one day i must overwrite glwrap.js from scirra. C3 use newer version of
glmatrix.
http://gigatron3k.free.fr//html5/C2/plugin/st/
some others informations;
if you want to make modifiable uniform, place at top of shader:
uniform float myvalue;
myvalue can now modifiable from shader and must be used somewhere in the shader;
if you want to make modifiable vec3 uniform, place at top of shader:
uniform vec3 myvalue; // it's become vec3(x,y,z);
myvalue can now modifiable from shader and must be used somewhere in the shader;
to enable standart derivatives place at the top of the shader;
#extension GL_OES_standard_derivatives : enable
this enable dFdx,dFdy and fwidth :return the sum of the absolute value of derivatives in x and y
Regards