---
title: "flareGlare"
description: "The broad warm-white wash around the light that lifts contrast near it."
group: "light"
groupTitle: "Noise, light & materials"
categoryId: "light"
categorySlug: "light"
categoryTitle: "Light"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/paint/light.ts#L758"
---

# flareGlare

The broad warm-white wash around the light that lifts contrast near it.

```ts
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

```ts
flareGlare({intensity: p('glareIntensity'), size: p('glareSize')})(flare, params)
```

## See also

- [`flareFrame`](/docs/primitives/light/flareframe) — The shared frame of a camera lens flare, which every `flare*` part reads.
- [`flareCore`](/docs/primitives/light/flarecore) — The bright point at the light itself: a hard pinpoint inside a small soft glow.

## Used by

[LensFlare](/docs/components/lensflare)