Log inGet started
World

Procgen Effects Showcase

Branchmain
Branchesmain
Commit99ff90d12c

README.md

wf_mist

The waterfall's mist: big soft cards born at the plunge and along the falling face, carried outward across the pool on a gentle breeze and curl turbulence. The wf_particle shader draws a rainbow inside these cards from the angle between the view ray and the point opposite the sun, so the bow appears where it would in the real spray.

-- `graph` is this graph's reference: the AssetRef `asset.resolve` or a search returns for it.
local e = entity.spawn("wf_mist", { position = { 0, 0, 0 } })
e.component.add("Generator", { graph = graph, playOn = "load", ending = "loop" })
InputDefaultWhat it does
rainbow1Strength of the rainbow drawn in the mist (0 to 4).
density0.7How thick the mist stands (0 to 3).

The output mist is the cards. The timeline has no end and plays at 30 fps.