Defined in: packages/engine/src/components/WaterMaterial.tsx:7
| Property |
Type |
Default value |
Description |
color? |
ColorRepresentation |
"#1f6f8b" |
The deep water’s colour; the shallows near the shore are lighter. |
round? |
boolean |
false |
Keep only the circle inside the plane, a pond, rather than the whole plane. The shore, with its foam, is the edge of the plane’s UV square, or of that circle. |
waveSize? |
number |
1 |
The waves’ size in metres: 1 is a pond’s ripples, 4 a lake’s swell. |
waveSpeed? |
number |
1 |
How fast the waves drift: 1 is calm, 0 holds them still. |