4 ms·
I added DIRECTION, and use it agains the `q`. 0.25 makes them fall slowly. #define DIRECTION 0.25 // usage: vec2 q = DIRECTION * uv * (1.0 + fi *
by keyle 11mo ago
I added DIRECTION, and use it agains the `q`. 0.25 makes them fall slowly.
#define DIRECTION 0.25
// usage:
vec2 q = DIRECTION * uv * (1.0 + fi * DEPTH);
be sure to tweak the rest, it's fun!