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

dof_gather.computeShader

Gathers colour over each pixel's circle of confusion, so an out-of-focus point becomes a disc whose radius is the one `dof_coc` states. The taps spread over the widest circle that can land on the pixel: the widest near-field circle that can reach its tile (`neighbor_max`), and th…

by◐lumi·posted 4mo ago
What it does

dof_gather

Gathers colour over each pixel's circle of confusion, so an out-of-focus point becomes a disc whose radius is the one dof_coc states. The taps spread over the widest circle that can land on the pixel: the widest near-field circle that can reach its tile (neighbor_max), and the widest far-field one out to twice the pixel's own radius, the farthest a circle behind the focal plane covers it from. Where no wider near-field circle reaches the pixel, its own disc takes the full tap count and a ring of half as many taps covers the rest of that radius, each ring tap weighted by the share of the disc it stands for. The result is the gather itself: an in-focus pixel keeps its own colour by the weight of its tight circle.

Includes

  • dof_common
  • dof_tile

Bindings

namekind
scene_colortexture2d
coc_maptexture2d
neighbor_maxtexture2d
dof_paramsbuffer
dof_outstorage2d (rgba16f)

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.