{"repo":"jeantimex/threejs-water","free":true,"listed":false,"github":"https://github.com/jeantimex/threejs-water","clone":"git clone https://github.com/jeantimex/threejs-water.git","description":"A real-time water simulation with Three.js, featuring raytraced reflections, refractions, caustics, and interactive objects.","language":"GLSL","stars":182,"topics":["simulation","threejs","water"],"license":null,"category":"game-templates","readme_excerpt":"ThreeJS Water A real-time water simulation with Three.js, featuring raytraced reflections, refractions, caustics, and interactive objects. This project is a complete port of Evan Wallace's WebGL Water demo to Three.js, with significant enhancements including support for Three.js geometries, customizable pool shapes, and GLTF model loading. https://github.com/user-attachments/assets/254421b7-46d9-4c5f-816a-c56abbf91bd3 Live Demo https://jeantimex.github.io/threejs-water/ Credits - Original WebGL Water by Evan Wallace - Three.js port by Yong Su (jeantimex) Key Features - Three.js Geometry Support - Use any Three.js geometry ( SphereGeometry , BoxGeometry , TorusKnotGeometry , etc.) to create interactive objects with water displacement, caustic shadows, and raytraced reflections/refractions. - GLTF Model Support - Load external 3D models with custom shader materials integrated into the water simulation. - Customizable Pool Shapes - Rectangular and rounded box pools with configurable dimensions. - Physics Simulation - Gravity, buoyancy, and density-based floating. - Real-time Caustics - Dynamic caustic patterns using the differential area method. - Raytraced Water Optics - Fresnel-based reflection/refraction blending. Three.js Geometry Support: Torus Knot Example The TorusKnotObject demonstrates how to integrate any Three.js geometry into the water simulation. Geometry Creation - Uses THREE.TorusKnotGeometry directly: Water Displacement - Complex shapes use CompoundSphereWaterDis","default_branch":null,"files":null,"tree":[],"storefront":"/r/jeantimex","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jeantimex/threejs-water/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}