logo80lv
Articlesclick_arrow
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
profile_login
Log in
0
Save
Copy Link
Share

Real-Time Water Simulation With Three.js

Yong Su shared a new port of Evan Wallace's WebGL demo.

Yong Su, who previously ported Evan Wallace's WebGL Water demo to WebGPU, has now successfully brought it to Three.js with several enhancements.

This real-time water simulation includes ray-traced reflections, refractions, caustics, and interactive objects. It also features configurable pool shapes such as rounded boxes and a light-follow camera mode for exploring dynamic caustics and highlights. The object system is extensible, so you can add additional Three.js geometries or custom 3D models by defining their render shader, water displacement approximation, hit test, and optics descriptor.

You can play with the demo in your browser here. Draw on the water to create ripples, drag the background to rotate the camera, and drag the sphere to move it. Press L to adjust the light, G to toggle gravity, and Spacebar to pause or unpause.

The GitHub repository is available here, and you can click this link to see Evan Wallace's original demo. Interested in more Three.js water? Dan Greenheck has released a major update to Three.js Water Pro, his complete ocean rendering solution.

Also, check out matsuoka_601's fluid simulations:

Subscribe to our Newsletter, join our 80 Level Talent platform, and follow us on TwitterLinkedInTelegram, and Instagram, where we share breakdowns, the latest news, awesome artworks, and more.

Are you a fan of what we do here at 80 Level? Then make sure to set us as a Preferred Source on Google to see more of our content in your feed.

Subscribe to 80 Level Newsletters

Latest news, hand-picked articles, and updates

Built for the Game & Digital Art Industry
Get Our Media Kit

Comments

0

arrow
Type your comment here
Leave Comment
Built for the Game & Digital Art Industry
Get Our Media Kit

We need your consent

We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more