Log inGet started
✦
shader · drop-in viewer
asset⌬ shadershaderprimary: shader.wgsl·part ofpackage effectShowcase.package·originates fromworld 0fc7535e-6…

blast_spark

Additive streak or dot for sparks and embers; velocity-aligned via `zero_billboard_streak`. The instance's +Y runs along its velocity and its Y scale is stretched by speed, so a fast spark draws as a streak and a slow ember as a dot. The fragment shapes a capsule with a bright co…

byzero-proxy @ DESKTOP-DB3UJOJ·posted 11d ago
What it does

blast_spark

Additive streak or dot for sparks and embers; velocity-aligned via zero_billboard_streak. The instance's +Y runs along its velocity and its Y scale is stretched by speed, so a fast spark draws as a streak and a slow ember as a dot. The fragment shapes a capsule with a bright core and a soft tail, and flickers it with 0.72 + 0.28 * sin(time * rate + seed * 91). It returns the HDR colour times coverage with the coverage as alpha.

The wall_blast graph (blast/wall_blast.procGraph) uses it through spark_mat (additive) for the embers and sparks thrown from the blast. The graph turns each particle onto its velocity, stretches its Y scale from 1 to 9 times its size over speeds 0 to 32, colours it from an HDR ramp that cools from yellow-white to dull red over life, and writes data1 as (life, a random seed, a flicker rate of 45, 0).

The shader includes @builtin::shaderModules.billboard.

Properties

PropertyTypeDefaultMeaning
unusedfloat0The one entry properties.yaml lists (range 0 to 1). Every value the shader reads comes from the lanes below.
vertexBoundsDilationfloat0.1How far the vertex hook moves a vertex past the mesh, in world units: the culling bounds grow by it so a moved vertex stays inside them.

Lanes

LaneCarries
data0.rgbHDR colour.
data0.aIntensity, multiplied into the colour.
data1.xLife 0 to 1, as the header states and the graph writes it.
data1.ySeed: the flicker's phase.
data1.zFlicker rate, multiplied by time inside the flicker sine.
data1.w0.

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.
⌬ Metadata
descriptionAdditive velocity-aligned streak for blast sparks and embers, a flickering capsule with a bright core.

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

5items
This part has no composite children. See the Files segment for its leaf payloads.
backing path · effectShowcase.package/blast/shaders/blast_spark.shader

Problems

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

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.