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

terrain_pyramid.computeShader

Writes one level of a heightfield's lattice pyramid from the level below it, one thread per level point.

by◐lumi·posted 6d ago
What it does

terrain_pyramid

Writes one level of a heightfield's lattice pyramid from the level below it, one thread per level point.

The heightfield's texels are level 0, read along the lattice the terrain's collider stands its samples on (the field's two edges and every texel centre between them, or, for a field whose first and last texel stand on the edges of the rect it is drawn over, the texels themselves). Level k holds one height at every stop m * 2^k of that lattice. Each is the separable tent [1/4, 1/2, 1/4] over the previous level's stops 2m - 1, 2m and 2m + 1, and a stop past an end of a level reads the level's last one. A level's stops are stops of the level below, so a coarse node of the mesh draws the even vertices of the node one level finer, filtered over the ground between them.

A stop on the field's own edge filters along the edge only, so two fields that meet along an edge and hold the same heights there hold one value at every coarse stop of it. The four corners keep the corner texel's height.

A dispatch writes the rect of destination points its parameters state: the whole level when the pyramid is built, and the points an edit reaches when it is rebuilt. Levels are dispatched in order, each reading the one the dispatch before it wrote.

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.