Tidal 2 URP
New in v2.1

Hardware Tessellation

Optional, per body. Keeps fine waves sharp close to the camera.

Hardware tessellation subdivides the water mesh near the camera so fine waves keep their shape. Density falls off with distance, so the extra vertices go where you can see them. It is off by default and set per Tidal Body.

How it behaves
  • No cost when off. Tessellation runs in separate shader passes chosen per body, so bodies without it pay nothing.
  • Pixel-exact underwater. The underwater waterline and cross-section masks rebuild the exact tessellated surface, so they stay pixel-exact with tessellation on.
  • Automatic fallback. Requires Shader Model 4.6. Where that is unsupported, the body falls back to standard rendering automatically.

When to use it

Settings

On the Tidal Body's mesh settings, under the Tessellation header:

SettingRange · DefaultWhat it does
Tessellation off Turns hardware tessellation on for this body.
Tess Max Factor 2-64 · 16 (snapped to an even number) Maximum subdivisions per patch edge. Higher means finer waves near the camera and more GPU vertex work.
Tess Target Edge Meters 0.05-2 m · 0.25 Target triangle edge length at 10 m from the camera. It relaxes with distance and holds steady inside about 8 m. Smaller means denser water.
Show Tessellation Wires off (debug) Draws the generated triangle edges over the normal shading, coloured by amount: blue = none, red = 64x.

From script: TidalMeshSharedSettings.Tessellation, TessMaxFactor, TessTargetEdgeMeters, ShowTessellationWires.

Checking density

Use Show Tessellation Wires. It is the only way to see tessellation in the editor: GPU-generated vertices don't appear in Unity's wireframe view or in mesh tools.
  1. Turn on Tessellation and leave the defaults (Max Factor 16, Target Edge 0.25 m).
  2. Turn on Show Tessellation Wires and look from your gameplay camera.
  3. If waves still look faceted up close, lower Tess Target Edge Meters. If the wires are red over a wide area, lower Tess Max Factor or raise the target edge.
  4. Turn the wires off when you're done.

Cost

Tessellation adds GPU vertex work in proportion to how many triangles it generates, mostly within a few tens of metres of the camera. Higher Tess Max Factor and smaller Tess Target Edge Meters both raise the cost. Profile on your target hardware and enable it only on the bodies the camera gets close to. See Performance.