waveFade
waveFade(
length,cell):number
Defined in: sdk/src/water/waves.ts:68
How much of a wave a mesh of cell-sized cells can draw: none below three cells to a wavelength, all of it from six. The shader applies the
same ramp per vertex with the cell size of the ring the vertex is in, so a coarse far ring does not alias; cell 0 draws every wave.
Parameters
Section titled “Parameters”length
Section titled “length”number
number
Returns
Section titled “Returns”number