paper-motion

Water

water

Water-like surface distortion with natural caustic realism.

Install
$ npx paper-motion add water

Adds the background to brand/shader-set/set.json; use it with B.shader().

Tune it, then add it to your kit
Live shader
Parameters
scale
colorBack
highlights
layering
edges
speed
{
  "id": "water",
  "shader": "Water",
  "props": {
    "fit": "cover",
    "scale": 1,
    "colorBack": "#000000",
    "colorHighlight": "#ffffff",
    "highlights": 0.07,
    "layering": 0.5,
    "edges": 0.8,
    "waves": 0.3,
    "caustic": 0.12,
    "size": 1,
    "speed": 0.6
  },
  "image": "assets/materials/material-a.jpg"
}
Defaults

Notes

  • Paper shader Water (animated).
  • Uses an image (installed to brand/assets/materials/); swap image for your own picture or texture.

Spec

Id
water
Type
Backgrounds
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related