fade to white

This commit is contained in:
2024-07-31 21:23:38 +03:00
parent 610c2391b1
commit a22e759c47

View File

@ -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