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

lightning_bolt

Additive unlit surface shader for lightning ribbons: a hot white core, a blue-violet halo, and crawling flicker along the channel. On the ribbon `uv.x` runs along the bolt and `uv.y` across it. Across the ribbon three falloffs stack: a tight white-hot core `(1.0, 0.97, 0.92)` at…

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

lightning_bolt

Additive unlit surface shader for lightning ribbons: a hot white core, a blue-violet halo, and crawling flicker along the channel. On the ribbon uv.x runs along the bolt and uv.y across it. Across the ribbon three falloffs stack: a tight white-hot core (1.0, 0.97, 0.92) at 17 times brightness, a mid glow between the core colour and blue (0.42, 0.52, 1.0), and a wide blue halo, all softened to zero at the ribbon's edges. Hot spots crawl along the channel from a value noise over uv.x, the storm clock gt and the bolt's own phase. Everything is scaled by flash, the strike envelope (0 dark, 1 the return stroke), and by gain; while flash is below 0.003 the fragments are discarded.

The storm graph (storm/storm.procGraph) draws one forked bolt per strike in the storm schedule with it, each as its own output and material (additive, culling off, depth writes off): flash is that strike's envelope expression, gt the graph time, phase the strike's index, and gain is 1.0. Each bolt is a jittered, smoothed, resampled line from the strike's top to its target, branched three generations deep by curve.branch, and drawn as two crossed ribbons 3.4 wide that thin with each generation. In the Procgen Effects Showcase world, the fx_storm scene plays the graph.

Properties

PropertyTypeDefaultMeaning
flashfloat1.0Strike envelope, 0 dark to 1 the return stroke (range 0 to 4).
gtfloat0.0The storm clock in seconds; drives the crawl of the hot spots.
phasefloat0.0Per-bolt offset of the crawling hot spots.
gainfloat1.0Multiplies the output (range 0 to 10).

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 lightning ribbon with a white-hot core, blue-violet halo and crawling hot spots, driven by a strike envelope.

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/lightning_bolt.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.