@@ -300,14 +300,13 @@ void main() {
300300 vec2 foldsUV1 = rotate(patternUV * .18, 4. * u_seed);
301301 vec2 foldsUV2 = foldsUV1 + .015 * sin(2. * u_seed) * (texture(u_noiseTexture, fract(patternUV * .02 + u_seed)).rg - .5);
302302 vec3 radialFolds = clamp(5. * getFolds(foldsUV1, foldsUV2), 0., 1.);
303- radialFolds = mix(radialFolds, vec3(.5), fade);
303+ radialFolds = mix(radialFolds, vec3(.5), .4 * fade);
304304 foldsPattern = radialFolds.x + radialFolds.y;
305305
306306 pattern += u_folds * foldsPattern;
307307 distortionPatternLinear += .2 * u_folds * (radialFolds.z - .5);
308308 } else {
309309 vec2 creasesResult = clamp(getGrid(patternUV), 0., 1.);
310- foldsPattern = mix(creasesResult.x, .5, fade);
311310 drops *= mix(1., creasesResult.y, u_folds);
312311
313312 pattern += u_folds * foldsPattern;
@@ -333,6 +332,7 @@ void main() {
333332 float frame = getUvFrame(imageUV, frameSoftness);
334333 vec4 image = texture(u_image, imageUV);
335334 frame *= image.a;
335+ frame = mix(frame, 0., .2 * fade);
336336
337337 vec3 color = fgColor * pattern;
338338 float opacity = fgOpacity * pattern;
0 commit comments