A fully featured water rendering and simulation library for s&box. Featuring shader driven water surfaces with physically based buoyancy, waves simulation, and hull mesh exclusion.
📗Features
Rendering
• Clipmap water surface Compute shader driven mesh that tiles out from the camera for infinite looking water with LODs
• WaterDefinition profiles Asset based wave configuration for Ocean, Lake, River, Pool, or custom types. Controls detail waves and swell waves independently (intensity, speed, scale, direction, octaves, lacunarity, persistence, steepness)
• Multi-octave Gerstner waves Evaluates wave displacement and velocity at any world position for use in gameplay and physics
Physics & Buoyancy
• Buoyancy component 9-point hull sampling with spring/damping forces, drag, angular drag, and horizontal wave transport
• Air volume leaking Buoyancy degrades as an object becomes fully submerged, simulating flooding if needed
Exclusion Volumes
• WaterExclusionVolume OBB based volume that suppresses water surface rendering inside it (for submarine interior, underwater bases, etc.)
• HullWaterExclusionVolume When placed on the same GameObject as a `ModelRenderer` it will extracts the physics collision mesh, uploads the triangle list to the GPU, and performs a per-pixel point-in-mesh test using the Möller–Trumbore ray intersection algorithm. It will correctly excludes the entire interior of any convex or concave hull (Really useful for a boat interior)
Post-Processing
• SimpleFog Lightweight atmospheric fog with configurable color, intensity, and opacity
• WobbleEffect Screen space ripple/distortion with configurable frequency, amplitude, and speed
How this works: This chart tracks all anonymous thumbs up/down votes, not just the written reviews below. Playtime is permanently recorded at the exact moment the user casts their vote. Data is exactly as returned by the Facepunch API.
0m - 1m
1
1
32m - 1.1h
1
1
1.1h - 2.1h
1
1
emoji_events
No achievements available
This package doesn't have any achievements defined.
If you're not able to download the new tool update in your project (crash at editor startup), please make sure to follow this:
The thing is, since it crash the editor almost instanly you will not be able to update the tool through the editor, so the alternative is to download my updated library in a fresh S&box project, this way you get the latest update downloaded, then move over the folder `redsnail.watertool` from the `Libraries` folder into your own project !
This way you will have your water tool updated and you will be able to launch your editor safely without crashing !
Thx for reading, have a nice day !
New UpdateJun 10, 2026
Added
Water displacement (ripples) for props and players
Water splash sounds and water swimming loop for the player
Underwater audio manager (When underwater all the sounds in your environment are muffled)
Missing normals displacement in the water shader
Fixed
Issue with circular mode on water quads wasn't working with water displacement