trying to import this shader shadertoy.com/view/4lfcWl, but i’m getting white screen only. how can i fix this.
[code]layout (location = 0) out vec4 fragColor;
uniform vec3 iResolution;
out vec4 O;
in vec2 I;
void main( )
{
vec2 p = I.xy / iResolution.xy;
float d = texture(sTD2DInputs[0], p).g;
d = 0.05 * texture(sTD2DInputs[0], p - vec2(0,d*0.1)).g;
vec2 g = 1.5 + vec2(0.14*p.x, 0.5*p.y + d)*25.;
float k = abs(fract(g.x+g.y) - 0.5);
O = vec4(vec3(smoothstep(0.0, 0.4, k)),1.0);
}[/code]