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

fxSmoke

A puff of smoke on a card facing the camera (`zero_billboard`), for blending over the frame. It draws a soft, lumpy disc of three-octave value noise whose edge is pushed in and out by the noise, and as the puff ages the noise thins it from its wisps inward. It is lit by the ambie…

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

fxSmoke

A puff of smoke on a card facing the camera (zero_billboard), for blending over the frame. It draws a soft, lumpy disc of three-octave value noise whose edge is pushed in and out by the noise, and as the puff ages the noise thins it from its wisps inward. It is lit by the ambient light plus the sun, wrapped around a sphere normal under the card so the side toward the sun is brighter. The colour is the element's colour times that light, and the alpha is the density times the element's opacity times gain.

The combat graphs beside it in combat/ draw with it as fxSmoke, transparent. The impact graph uses it for the burst of dust and grit off the struck surface (grit colour (0.58, 0.53, 0.46), opacity falling from 0.55 to 0 over life), and the muzzleFlash graph for the puffs of smoke leaving the bore (grey (0.56, 0.54, 0.52), opacity falling from 0.42 to 0). Both swell the card as it ages. The bench_mixed scene places both graphs and the main scene places muzzleFlash.

The shader includes @builtin::shaderModules.billboard.

Properties

PropertyTypeDefaultMeaning
gainfloat1.0Multiplies the output alpha.
vertexBoundsDilationfloat5How 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.rgbSmoke colour, multiplied by the lighting.
data1.xSeed: picks the puff's lumps.
data1.yLife, 0 at birth to 1 at death: thins the puff and drifts its noise.
data1.zOpacity.

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
descriptionLumpy, sun-lit smoke puff on a camera-facing card that thins as it ages, for muzzle smoke and impact dust.

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/combat/shaders/fxSmoke.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.