Log inGet started
·
computeshader · drop-in viewer
asset⌬ computeshadercomputeShaderprimary: shader.wgsl·part ofpackage terrainSystem.package·originates fromworld 07158574-5…

terrain_erode_stream.computeShader

Stream-power erosion on a grid of at most a few hundred cells a side, the step `terrain.erode` runs for `model = "stream"`.

by◐lumi·posted 6d ago
What it does

terrain_erode_stream

Stream-power erosion on a grid of at most a few hundred cells a side, the step terrain.erode runs for model = "stream".

One dispatch is one step, picked by the MODE specialization, and each step writes one cell per thread from the buffers of the step before, so a run gives the same ground every time.

MODEOne thread perWrites
downwork cellthe mean of the field cells it covers
sumwork cellthe sum of the weights of its drops to its neighbours, the edge draining outward
areawork cellone Jacobi pass of the drainage area in cells: one plus what each higher neighbour sends it, each neighbour sharing its area among its lower neighbours by drop ^ power
incisework cellthe height after the implicit step (h + F * h_r) / (1 + F) toward the steepest lower neighbour, F = K * A^m * dt / run, plus the uplift step; K varies by variation over variationSize metres by the seed; with keep 1 the step lowers a cell and never raises it
relaxwork cellthe height after the talus limit (rest, rate) and creep between the four neighbours; with keep 1 the limit is the steeper of rest and the slope the two cells had when the run began, and creep evens out only the change
upheld cell of the fieldthe work grid read bilinearly, src * scale - subtract * aux

The step never lowers a cell past the neighbour it drains to, so a long run settles instead of running away. A depression with no lower neighbour keeps its water: its area stays in it and nothing cuts it.

With keep 1 the run keeps the shape it started from wherever the cutting does not reach: a closed basin holds its depth, since the filled surface steers the drainage across it without raising its floor, and a face steeper than the talus limit stands.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

This asset doesn't declare a schema or structured payload.

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.