Tyrbo Make your game

Free effect · CC0

Rain with Splashes

By Tyrbo · 1 effect

Rain with Splashes, effect by TyrboRain with Splashes, effect by Tyrbo

About it

Rain for three.js: thousands of streaks slanted by the wind in a box that follows the camera, and a ripple and a crown of droplets where each drop lands. Drops and splashes are worked out on the GPU, so a storm costs two draw calls and allocates nothing.

What's inside

  • rain streaks
  • ripples
  • splashes

Use it in your game

Each effect is an ES module for three.js. Import it, make it with your scene, and call its update(dt) once a frame; dispose() frees it. Open demo.html to see it run and try its options. It needs only three (npm install three, or the import map in the demo).

The license

CC0 1.0 puts it in the public domain: use it in any game, free or paid, change it, and ship it without asking anyone or crediting anyone. A credit is still a kind thing to give: "Rain with Splashes by Tyrbo, CC0".

More effects

See all

Make a game for your phone with Tyrbo

Make your game

Sign in to get the plan and its concept art. Both are free.