flareCore
The bright point at the light itself: a hard pinpoint inside a small soft glow.
flareCore(slots: {intensity: ArgSpec}): (flare: Expr, params: GpuFragmentParams) => Expr
Import light from shaders/std and use light.flareCore.
Call the result with the flare frame and the params. Returns an RGB.
Parameters
| Name | Type | Notes |
|---|---|---|
slots | {intensity: ArgSpec} |
Example
flareCore({intensity: p('intensity')})(flare, params)
See also
flareFrame— The shared frame of a camera lens flare, which everyflare*part reads.flareGlare— The broad warm-white wash around the light that lifts contrast near it.