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