OceanShore
Since 0.6
Shoreline controls: shoaling and the breaker index shape the waves the CPU sea sees; the rest are render only.
Every field optional.
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
shoaling | number | no | 1 | Scale on the shoaling of waves in shallow water, 0..2: 1 is linear theory, 0 is off. Read by the CPU sea too. Default 1. | |
breakerIndex | number | no | 0 | Waves higher than this times the depth break, 0.4..1.2. Read by the CPU sea too. Default 0.78. | |
runup | number | no | 1 | Scale on the swash run-up up the beach, 0..2. Render only. Default 1. | |
wetSandSeconds | number | no | 30 | Seconds for wet sand to dry, 1..600. Render only. Default 30. | |
wetSandStrength | number | no | 0 | How dark wet sand gets, 0..1. Render only. Default 0.4. | |
caustics | number | no | 1 | Scale on the caustics on the sea floor, 0..2. Render only. Default 1. | |
foam | number | no | 1 | Scale on the breaker and shore foam, 0..2. Render only. Default 1. |