Log inGet started
World

Procgen Effects Showcase

Branchmain
Branchesmain
Commit99ff90d12c

README.md

arcane_rift

A rift tearing open in the ground: a glowing mouth along a crack in the earth, cracks branching out from it, rubble heaving up, sparks and streaks climbing out of it, motes drifting above and a plume rising from it. It is centred on the generator's origin with its long axis along x and the ground at y = 0.

-- `graph` is this graph's reference: the AssetRef `asset.resolve` or a search returns for it.
local e = entity.spawn("arcane_rift", { position = { 0, 0, 0 } })
e.component.add("Generator", { graph = graph, playOn = "load", ending = "loop" })
InputDefaultWhat it does
intensity1Brightness of everything that glows: the mouth, cracks, sparks, streaks, motes and plume (0 to 4).
OutputWhat it draws
mouthThe glowing opening, rift_core shader
cracksThe cracks branching out across the ground, rift_crack shader
rubbleRubble around it, rift_rock shader, moved by the rift_rubble compute shader
sparksSparks thrown from the mouth, rift_streak shader
streaksStreaks climbing out of it, rift_streak shader
motesMotes drifting above it, rift_mote_cluster shader, moved by the rift_motes compute shader
plumeThe plume rising from it, rift_plume shader

The timeline has no end and plays at 60 fps.