Log inGet started
World

Tidewater: Oceans, Lakes, Rivers, Waterfalls, Swimming and Splashes Water Kit

Branchmain
Commit431c1b9967

README.md

tidewaterSeaVariant

A named Tidewater sea built on one of the nine ocean sea states (tidewaterOceanPreset): base names the sea state, and every other field overrides just that part of it: wind, swell, the water's colour and clarity, foam, caustics, glitter, scattering. The ocean kind (modules/kind_ocean) offers each instance as a preset by its key, after the nine sea states, in order:

Water.create({ kind = "ocean", preset = "tropicalLagoon" })

Kept as a separate contract so the nine-state catalogue (Ocean.presets()) stays exactly as the ported package defines it.

Fields

  • key, label, order, description: catalogue.
  • base: the sea state this variant starts from.
  • waves, gerstner: wind sea and swell overrides (same meaning as the sea state).
  • color: waterColor, transmissionColor, absorptionColor (hex, decoded sRGB; absorption as extinction rates), waterDepth.
  • fresnel, foam, floor.caustics, sparkle, sss: partial overrides.