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

terrain_coast.computeShader

Pulls the ground outside a landmass down to a seabed altitude, by a radial falloff about a point.

by◐lumi·posted 3mo ago
What it does

terrain_coast

Pulls the ground outside a landmass down to a seabed altitude, by a radial falloff about a point.

The land weight is 1 inside radius, falls to 0 across falloff metres beyond it, and the height is interpolated between the seabed and whatever the stack already built:

value = mix(seabed, prev, landWeight)

The interior keeps its landscape untouched, the rim slopes off it, and everything past the rim sits at the seabed. Put the seabed below the sea level and the result is an island — the terrain ends before the field's rect does, and the rect goes on carrying the sea.

shapeMode picks the metric: 0 is a disc, 1 is the Chebyshev square.

This op covers the whole field, not the disc it is centred on: the ground it changes is the ground outside that disc, and an op that only touched its own radius would leave the far corners standing above the water.

It is an ordinary op in the stack, so an erosion below it weathers the coastline it drew, a flatten cuts a harbour into it, and a river carves a mouth through it.

terrain_coast_mask is the same operation driven by a painted raster instead of a radius, for a coastline whose outline is drawn rather than described.

Every op carries a mask. The op's weight at a cell is scaled by what the mask reads there — multiplied in, or subtracted out — so the op applies only where the mask lets it and a cell the mask holds out keeps exactly what it already held, at every blend mode. An op that names no mask writes at full strength everywhere.

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.