From a22e759c47d5aa836174227657069344ea727cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20J=C3=A4rvisalo?= Date: Wed, 31 Jul 2024 21:23:38 +0300 Subject: [PATCH] fade to white --- shader.glsl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shader.glsl b/shader.glsl index 121c5a1..6e59cc6 100644 --- a/shader.glsl +++ b/shader.glsl @@ -324,14 +324,13 @@ vec3 postProcess(vec3 col) { col = smoothstep(0., 1., col); // fade out at the end - col += 1.2 - vec3(cl((32. - u_time)*.35, 0., 1.2)); + col += 1.0 - vec3(cl((31. - u_time)*.5, 0., 1.0)); return col; } vec3 cameraPos() { // first zoom in to the gate - vec3 cPos = vec3(0., cl(6.-u_time,2.,6.), cl((100.-u_time*11.),6.,100.)); if (u_time > 7.5) cPos += vec3(0., cl(7.5-u_time,-1.,0.), 0.); // close up shot for 1st glyph lock