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

storm_streak

Additive billboard streak for rain, splash droplets and sparks: a card that turns about its own Y axis toward the camera (`zero_billboard_streak`). Colour comes from the element's `data0.rgb`, which is HDR so sparks can run hotter than 1, and an element whose colour fades to blac…

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

storm_streak

Additive billboard streak for rain, splash droplets and sparks: a card that turns about its own Y axis toward the camera (zero_billboard_streak). Colour comes from the element's data0.rgb, which is HDR so sparks can run hotter than 1, and an element whose colour fades to black vanishes (below 0.002 in every channel it is discarded). Across the card the streak is rounded (1 - across^2), so a thin card shows a soft edge; along it a bright head gives way to a long soft tail. The storm's lightning lifts every card by ambient + flash * flash_gain, which makes falling rain flicker into view in every strike. Distance fades the streak by exp(-distance * fog), the streak fades in between 1.5 and 9 units from the camera, and the result is scaled by gain.

The storm graph (storm/storm.procGraph) builds three additive materials from it:

Useflashflash_gainambientfoggain
Rainstorm flash expression1.00.110.0101.0
Splash dropletsstorm flash expression1.60.70.00451.0
Sparks and the smaller sparks they throw00.01.00.0031.0

For each, the graph turns the particle onto its velocity, sets its length from its speed and writes data0 as a colour times a fade that takes a slow particle to black: wind-driven rain in a cool blue at random brightness, splash droplets thrown up where rain lands, and strike sparks cooling from (11, 9, 6) to black. In the Procgen Effects Showcase world, the fx_storm scene plays the graph.

The shader includes @builtin::shaderModules.billboard.

Properties

PropertyTypeDefaultMeaning
flashfloat0.0Current strike brightness (range 0 to 8).
flash_gainfloat1.0Multiplies flash (range 0 to 20).
ambientfloat1.0Base brightness of the streak (range 0 to 8).
fogfloat0.006Distance fade density (range 0 to 0.1).
gainfloat1.0Multiplies the output (range 0 to 20).
vertexBoundsDilationfloat0.05How 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; black discards the element.

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 streak card turned onto its motion for rain, splash droplets and sparks, lifted by the storm's lightning flash.

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/storm/shaders/storm_streak.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.