Procgen Effects Showcase
- ..
- .metadata264 B
- README.md788 B
- graph.json6.3 KB
- init.luau2.4 KB
- preview.png53.8 KB
README.md
wf_water
The waterfall's water: three staggered falling curtains, the plunge pool and the river above the
lip. The curtains draw with the wf_sheet_* materials, whose vertex shader shapes the falling
sheet; the pool and river draw with wf_pool_mat and wf_river_mat. Its parts stand at z = 42 in
the generator's own space, and the materials state that spot too (z0, origin_z).
-- `graph` is this graph's reference: the AssetRef `asset.resolve` or a search returns for it.
local e = entity.spawn("wf_water", { position = { 0, 0, 0 } })
e.component.add("Generator", { graph = graph, playOn = "load", ending = "loop" })
The output water is one entity output holding every part. The timeline has no end and plays at
30 fps, which keeps the water's materials moving.