Prefabs
Water
Water surface prefab.
The Water prefab renders a water surface using a custom shader.
Usage
import { Water } from '@mavonengine/core'
const water = new Water()
game.world.add({ water })
Configuration
Configure the water's appearance (color, wave speed, opacity, etc.) via properties on the Water instance. Refer to the source for the full list of options.