---
title: "flareCore"
description: "The bright point at the light itself: a hard pinpoint inside a small soft glow."
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#L777"
---

# flareCore

The bright point at the light itself: a hard pinpoint inside a small soft glow.

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

```ts
flareCore({intensity: p('intensity')})(flare, params)
```

## See also

- [`flareFrame`](/docs/primitives/light/flareframe) — The shared frame of a camera lens flare, which every `flare*` part reads.
- [`flareGlare`](/docs/primitives/light/flareglare) — The broad warm-white wash around the light that lifts contrast near it.

## Used by

[LensFlare](/docs/components/lensflare)