Hacker News new | ask | show | jobs
by velcrovan 206 days ago
If only the “just snow” one would have had the snow floating down (instead of, inexplicably, up)!
3 comments

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!
The shader is pretty small, I bet a little fiddling with changing minuses to plus signs would fix that right up (or down)!
Simply rotate your monitor. /j