diff --git a/vhs/shaders/vhs.slang b/vhs/shaders/vhs.slang index 8eb6205..ae66eec 100644 --- a/vhs/shaders/vhs.slang +++ b/vhs/shaders/vhs.slang @@ -140,7 +140,7 @@ void main() vec2 uv = jumpy(vTexCoord.xy, iTime); vec2 uv2 = uv; - float s = 0.0001 * -d + 0.0001 * wiggle * sin(iTime); + float s = 0.0001 * wiggle * -d + 0.0001 * wiggle * sin(iTime); float e = min(.30,pow(max(0.0,cos(uv.y*4.0+.3)-.75)*(s+0.5)*1.0,3.0))*25.0; float r = (iTime*(2.0*s)); @@ -166,4 +166,4 @@ void main() final = vec4(yiq2rgb(vec3(y,i,q))-pow(s+e*2.0,3.0), 1.0); FragColor = final; -} \ No newline at end of file +}