Free effect · CC0
Stylized Water
By Tyrbo · 1 effect
About it
A water surface for three.js that rolls with Gerstner waves, pale on the crests and deep in the troughs, mirrors the sky, glints in the sun and carries drifting lines of foam. A tap leaves rings that spread and fade, and heightAt tells a boat or a barrel where to float.
What's inside
- lagoon water
- ocean water
- night water
- ripples
- floating
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: "Stylized Water by Tyrbo, CC0".
More effects
See allMake a game for your phone with Tyrbo
Make your gameSign in to get the plan and its concept art. Both are free.