rift_streak
An additive energy streak for procgen particles: a velocity-aligned billboard card (`zero_billboard_streak`, turned onto the element's `orient` and stretched by its `scale.y`) drawn as a hot filament with a soft sheath. Lane 0 carries the HDR colour and opacity, lane 1.x a shimme…
rift_streak
An additive energy streak for procgen particles: a velocity-aligned billboard card
(zero_billboard_streak, turned onto the element's orient and stretched by its scale.y) drawn
as a hot filament with a soft sheath. Lane 0 carries the HDR colour and opacity, lane 1.x a shimmer
phase. Along the card the streak tapers at both ends and is fuller toward the head; across it a
tight Gaussian core sits inside a wider sheath. The core bleeds toward white, and a shimmer at 37
radians per second plays over the whole streak. It returns the colour times its coverage times
gain, with the coverage as alpha.
The arcane_rift graph (rift/arcane_rift.procGraph) builds streakMat from it (additive, culling
off, depth writes off, gain wired to the graph's intensity input) and draws two outputs with it:
sparks, the bursts that arc out of the tear and bounce on the ground plus the smaller sparks they
throw, and streaks, the energy streaks spiralling up out of the rift. The graph turns each
particle onto its velocity, stretches it by speed, colours it from a violet and blue HDR ramp over
its life, and writes a random value into lane 1. In the Procgen Effects Showcase world, the fx_rift scene plays the graph.
The shader includes @builtin::shaderModules.billboard.
Properties
| Property | Type | Default | Meaning |
|---|---|---|---|
gain | float | 1.0 | Multiplies the output colour (range 0 to 50). |
vertexBoundsDilation | float | 0.05 | How 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
| Lane | Carries |
|---|---|
data0.rgb | HDR colour. |
data0.a | Opacity. |
data1.x | Per-element shimmer phase, 0 to 1 of a turn. |
Scoped to this part · feeds back into the world's score.