Y
Hacker News
new
|
ask
|
show
|
jobs
by
keyle
207 days 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!