Red Snail Red Snail Library update 6d ago

Water Tool

A fully complete water library including GPU compute shaders, underwater post processing and more!

favorite24favorites
thumb_up22upvotes
thumb_down1downvotes
hard_drive 9 MB folder 121 files build Engine v28 bolt Updated recently
open_in_new View on sbox.game

About This Package

🌍Summary

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

🎞️Tutorial

💾Source Code
💬My Discord

Media (9)

Water Tool - Thumbnail 3 Water Tool - Thumbnail 4 Water Tool - Thumbnail 5 Water Tool - Screenshot 6 Water Tool - Screenshot 7 Water Tool - Screenshot 8 Water Tool - Screenshot 9
76
Total Users
250
Total Sessions
1.6 days
Total Playtime
Positive Negative
info
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
Package ID: redsnail.watertool
Created: 2026-04-20 21:00 UTC
Updated: 2026-08-18 02:29 UTC
Type: library
Public: Yes
Version: 342768
files: 121
Size: 9.0 MB
Engine Version: 28
Asset Version ID: 342768
Version Created: 2026-08-18 02:29 UTC
Hash: 1787020148
Manifest: Open manifest
Compiler: Sandbox, SANDBOX, 1701;1702;1591;, , , , Release, Array, Array, Array, Array
Resources:
Code Package References:
new_releases Latest Update Aug 18, 2026
Changes on 2026-08-18
⚠️IMPORTANT⚠️ Jun 11, 2026
Fixed
  • A crash issue with the latest S&box update !
  • 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 Update Jun 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