Repository navigation
8 Setup Waterline
Ionrift Waterline renders animated procedural water shaders directly onto Foundry VTT scenes with live-tunable currents, waves, and caustics. Built on native scene Regions, it analyzes polygon geometry to assign fluid archetypes and applies calibrated shaders with zero manual vertex placement.
- Install and enable Ionrift Library.
- Install Ionrift Waterline via the Foundry module browser or manifest URL.
- Enable the module in your World Settings.
Compatibility: Foundry V13 and V14.
Open the Regions palette on the canvas controls and select the Waterline tool (fas fa-water) to open the Waterline Panel.
Click on any water area on your scene battlemap. Waterline uses flood-fill sampling to trace the water boundary automatically and create a scene Region.
- Shift+Click: Adds clicked water area to the active region.
- Ctrl+Click: Subtracts clicked area from the region.
- Ctrl+Z: Undoes the last shape adjustment.
- Tolerance Slider: Adjusts pixel matching sensitivity when sampling variations in map art.
- Region Adoption: Select an existing scene region drawn by hand and click Adopt Region to bind Waterline shaders to it.
When a new waterbody is created or adopted, Waterline evaluates its geometry:
- Archetype Estimation: Analyzes bounding aspect ratio, surface area, and perimeter to assign an archetype (Ocean, Coastline, River, Lake, Pond, or Puddle).
- Flow Heading Estimation: Identifies the primary channel direction for rivers and streams, setting the initial current angle automatically.
Select any water region from the Waterline Panel to tune its live shader parameters. Changes reflect immediately on canvas.
- Ocean: Deep sea chop, directional swell harmonics, and expansive scale.
- Coastline: Breaking surf crests, forward shore bow curvature, and retreating swash foam.
- River: Directional channel current with turbulent wavelet packets and flow alignment.
- Lake: Open water swells with gentle breeze ruffles and wind vectors.
- Pond: Concentric shoreline damping, tranquil surface glint, and shallow caustics.
- Puddle: Compact rain disturbance rings, micro-ripples, and high transparency.
- Wave Speed: Controls the velocity of surface ripples, chop, and swells.
- Wave Height: Adjusts vertical crest displacement and light reflection depth.
- Wave Chop: Adds secondary high-frequency surface turbulence and crispness.
- Wave Foam: Tunes foam concentration along river riffles, shore breaks, and wave crests.
- Distortion: Warps the underlying battlemap texture beneath moving water.
- Scale: Sets the spatial frequency and size of caustic patterns.
- Tint Opacity: Blends the deep water tint over the canvas map.
- Edge Fade: Feather width along region perimeters to blend into dry shores.
- Flow Heading: Rotatable directional dial (0 to 360 degrees) setting current vector.
- Eyedropper Tool: Samples pixel colors directly from the canvas background to match water tints to any cartography, or dial in fantasy fluids (acid pools, blood tarns, murky bayous).
- Batch Sync: Applies current slider tuning across all waterbodies sharing the same archetype on the active scene.
Tokens moving across water emit expanding wake ripples with fluid displacement. Configure them on the Ripples tab in the Waterline Panel.
- Token ripples: Turns token ripples on or off for everyone in the world.
- Display Mode: Selects Refraction, Crest rings, or Combined (Refraction + Rings).
- Shape & Motion Sliders: Adjusts lifetime, start and max radius, ring count, strength, wave dispersion, and trail timing.
- Preset: Saves and loads named presets for those display and shape sliders.
- Reset Default Physics: Restores the ripple sliders to their defaults.
- Elevation & Flight: Tokens above the water and creatures that are flying leave no ripples.
- No water ripples: Toggle on the Token sheet (Identity tab) that suppresses ripples for that token only.
Open Game Settings > Configure Settings > Ionrift Waterline.
- Open Waterline: Opens the Waterline Panel.
- Support Links: Shortcuts to Discord, bug reports, and the wiki.
Waterline has no quality tier or sample-rate settings. All water region and ripple controls live in the Waterline Panel.
- Water detection spills past riverbanks: Lower the detection tolerance slider before clicking. If map water contains heavy texture or transparency, trace smaller sections with Shift+Click.
- Water color does not match map art: Click the eyedropper icon next to Tint Color and click directly on your map's water texture.
- Shader does not update after moving region: Foundry regions update dynamically. If an external module moves a region polygon, re-open the Waterline panel or press Refresh on the entity deck.
- Border walls: Procedural border walls have moved to Ionrift Cartographer on the Canvas Walls palette.