PixelWaterMaterial
PixelWaterMaterial(
props):Element
The material of the mesh it sits in, drawn as pixel-art water, as a
block map’s water cells draw: square cells of pixelsPerMetre, depth
bands from the plane’s edge, ripple dashes drifting with the flow, a
broken foam rim and rings round a rock, and glints above 1 that bloom.
It reflects nothing: the scene’s sun and fill light it, the fill
partly greyed so a blue night keeps its hue, it turns toward the fog’s
colour at a grazing angle, glows by night and dims under an overcast
sky. Opaque, so it writes its depth and the depth of field reads it.
One pass.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
PixelWaterMaterialProps |
Returns
Section titled “Returns”Element