flareStarburst
The star of thin spikes around the light in a lens flare.
flareStarburst(slots: {intensity: ArgSpec; points: ArgSpec}): (flare: Expr, params: GpuFragmentParams) => Expr
Import light from shaders/std and use light.flareStarburst.
Call the result with the flare frame and the params. points is the number of spikes. They turn slowly with the layer's clock and carry a faint rainbow tint. Returns an RGB.
Parameters
| Name | Type | Notes |
|---|---|---|
slots | {intensity: ArgSpec; points: ArgSpec} |
Example
flareStarburst({intensity: p('starburstIntensity'), points: p('starburstPoints')})(flare, params)
See also
flareFrame— The shared frame of a camera lens flare, which everyflare*part reads.raySpikes— Thin star spikes with dark gaps between them, like light through a camera aperture.