Tidal Body (the water object)
What it is
TidalBody is one body of water: an infinite ocean or a bounded (and rotatable) lake or pool.
It builds the camera-following water mesh, draws the surface, and runs every water subsystem
(foam, wakes, currents, zones, volumes, underwater, physics queries). Its waves come from a
separate simulation component (T Compute) that several bodies can share.
How to add it
GameObject > Tidal 2 > Ocean- infinite bounds, FFT simulation, default profile.GameObject > Tidal 2 > Lake- bounded rectangle, calmer lake profile.- Or
Add Component > Tidal 2 > Tidal Body, then assign Surface Material, T Compute and Viewer Cam (the Validator can fill them).
The created object is on the Water layer and also carries a TidalFFTCompute.
In the editor
The Inspector opens with a TIDAL Water Body banner (version v2.2.0 and a Doc button
that opens the online docs), then an Edit Water row of five tool buttons (see
Edit Water Tools), then twelve foldout sections. Each section is
shown below on its own.
Screenshot: the Tidal Body component header with the blue wave-logo icon, the banner, the Edit Water row (buttons: +, raise-terrain, lower-terrain, a blue drops icon, a green current icon), then collapsed foldouts in this order: Core, Features, Painted Water, Underwater, Zones, Mesh Generator, Volumes, Planar Reflections, Interaction, Underwater Particles, Physics Field, Miscellaneous.
Core
Screenshot: Core expanded. Surface Material (Tidal_Surface, with an Edit button
that opens the material picker), T Compute (the FFT compute on this object), Wave Strength
slider (1), Viewer Cam (Main Camera), Update Material Properties (on), Show Material Lods (off).
Sub-groups: Bounds - Infinite Bounds (on), Body Size X 500 / Y 500. Geometry - Vertex
Density (15). Tessellation - Tessellation (off), Tess Max Factor (16), Tess Target Edge
Meters (0.25), Show Tessellation Wires, Show Surface Normals, Show Foam Field. Depth - Body
Max Depth (500).
| Field | Meaning |
|---|---|
| Surface Material | The water material (look, foam, underwater). Shared assets - edits affect every body using it |
| T Compute | Wave simulation (TidalFFTCompute or TidalGerstnerCompute). Share one across bodies |
| Wave Strength | 0 (flat) to 1. Per body, even when the simulation is shared. Replaces the old compute Strength |
| Viewer Cam | Camera the mesh is built around. Empty = red error field, water does not follow |
| Infinite Bounds / Body Size | Ocean vs. rectangle in metres. Only bounded bodies can be rotated (Y) |
| Vertex Density | Base mesh density. Higher = smoother waves, more GPU |
| Tessellation | Per-body hardware tessellation. Use for curling wave boxes and whirlpools. Tess Max Factor 16 (32-64 for whirlpools), Target Edge 0.25 m (0.1 for whirlpools) |
| Body Max Depth | Depth used for underwater and seabed effects |
Features
Screenshot: Features expanded. A list of the water features attached to this body, each row with an enable tick, its icon, name and type on the right and a menu (…): Wave Box (“Breaking wave”), Whirlpool, Foam Emitter (“Foam”), Wake Emitter (“Wake”), and “Propeller - on Boat” (“Propeller”). Below the list is an Add Feature dropdown and Show Labels While Placing (on). Expanding a row edits that feature in place.
Painted Water
Screenshot: Painted Water expanded with the note “Nothing painted yet. Pick Height, Calm or Currents and paint on the water.” and Detail (m per pixel) = 0.5. Painting is done with the Scene view tools (see Edit Water Tools).
Underwater
Screenshot: Underwater expanded: Has Underwater (on), Volume Masks, Edge Underwater Mask (on, greyed), God Rays, Volumetric Lights and Volumetrics Resolution - each dropdown set to “Use Render Feature Setting”, so the URP render feature’s defaults apply unless the body overrides them. Edge Underwater Mask lets a bounded body’s sides show the water beneath from outside.
Zones
Screenshot: Zones expanded: Update Zones (on), Zone Map Resolution 1024, Near Extent 512. Zones are baked into a two-ring map around the camera when they change.
Mesh Generator
Screenshot: Mesh Generator expanded: Base Tile World Size 30, Max Lod 5, Interest Radius 40, Split Distance Factor 0.5, Root Tile Radius 3, an empty Points Of Interest list, and Show Tile Gizmos (off). These control the quad-tree LOD of the camera-following mesh; points of interest get full detail even far from the camera.
Volumes
Screenshot: Volumes expanded: Update Volumes (on) and Update Hz 60.
Planar Reflections
Screenshot: Planar Reflections expanded: Update Hz 120, Reflection Mask “Everything”, Downscale 2, Reflection Msaa 2, Clip Plane Offset 0.07, Distance 300, Reflect Skybox (on), Allow Post Process (on), Render Shadows (off). Planar reflections only run when the material’s Planar Reflection strength is above 0 (new materials default to 0 and use screen-space reflection instead) - each planar camera re-renders the scene.
Interaction
Screenshot: Interaction expanded: Base Tile World Size 30, Max Lod 4, Tile Resolution “256 x 256”, Clip Snap Meters 1. Layers: Enable Foam Layer (on), Enable Wake Layer (on), Wake Produce Foam (off), Wake Model “Realistic (deep water)”, Enable Flow Layer (on). These are the camera-following canvases for foam, wakes and currents.
| Wake Model | Use |
|---|---|
| Realistic (deep water) | Kelvin wake: the V opens above ~3.8 m/s |
| Fast | Cheaper stylised cone (~0.04 ms vs ~0.14 ms GPU) |
Underwater Particles
Screenshot: Underwater Particles expanded: Enable Particles (on), Radius 12, Mote Count 500, Mote Color (pale blue), Mote Size 0.015-0.05, Mote Drift 0, Bubble Count 90, Bubble Color, Bubble Size 0.008-0.03, Bubble Rise Speed 0.25-0.6. Floating motes and rising bubbles around the camera when underwater.
Physics Field
Screenshot: Physics Field expanded: Height Sampling Iterations 3, Enabled (on), Base Size
128, Lod Count 7, Resolution 256, Update Hz 60. The GPU bakes height and normals around the
camera and floating objects and reads them back, so buoyancy and GetWaterHeight match the
rendered water.
Miscellaneous
Screenshot: Miscellaneous expanded: Run In Editor (on) and Debug (off). Run In Editor animates the water in the Scene view outside Play mode.
In the Scene view
Screenshot: a Scene view looking over a calm blue ocean towards a pale sky. The ocean is selected; on the left, under Unity’s tool buttons, the Tools overlay shows the five Tidal water tools. A Tidal toolbar sits along the bottom edge.
Clicking open water in the Scene view selects the body. Rotating a bounded body turns its rectangle; waves stay in world space (turn the wind in the profile to change wave direction).
Scripting
using Tidal.Core;
TidalWaterBody body = TidalWaterBody.FindBodyAt(transform.position);
body.WaveStrength = 0.33f; // 0..1, this body only
body.WakeModel = TidalWakeModel.Fast;
TidalMeshSharedSettings s = body.GetTidalMeshSettings();
s.Tessellation = true;
s.ViewerCam = Camera.main;
foreach (TidalWaterBody b in TidalWaterBody.AllBodies) Debug.Log(b.name);
Common issues
| Symptom | Cause | Fix |
|---|---|---|
| Nothing renders after adding TidalBody by hand | No Surface Material or T Compute | Validator > Fix, or use the Ocean menu |
| Red “Viewer Cam” field | No camera assigned | Assign the main camera |
| Rotation snaps back to 0 | Infinite Bounds on | Only bounded bodies rotate |
| Frame rate drops with more bodies | Each body has its own simulation | Point every body’s T Compute at one compute |
| Pale band at the waterline far away | Camera near clip far below 0.1 | Raise near clip toward 0.1 |