I would like to use a displacement shader from that website but I'm not getting the right declarations and data types for Construct. I looked at the other distortion shaders but I'm messing up something:
shadertoy.com/view/lss3D4
varying mediump vec2 vTex;
uniform mediump float resX;
uniform mediump float resY;
void main(void)
{
vec2 p = gl_FragCoord.xy / (resX, resY);
gl_FragColor = texture2D(samplerFront, p+(texture2D(samplerFront, p).rb-vec2(.5))*.1);
}
Thank you <img src="smileys/smiley9.gif" border="0" align="middle" />