---
title: "glowSpot"
description: "A soft oval glow over an offset you have already scaled, the core of a bloom or a glare."
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#L513"
---

# glowSpot

A soft oval glow over an offset you have already scaled, the core of a bloom or a glare.

```ts
glowSpot(du: Expr, dv: Expr, sharpness: Expr): Expr
```

Import `light` from `shaders/std` and use `light.glowSpot`.

Returns a 0–1 field. Divide each axis of the offset by its own radius first: `du` and `dv` at different radii make the glow oval. `sharpness` larger gives a tighter glow.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `du` | `Expr` |  |
| `dv` | `Expr` |  |
| `sharpness` | `Expr` |  |

## Example

```ts
const pool = glowSpot(div(dx, p('width')), div(dy, p('height')), 2)
```

## See also

- [`glowAt`](/docs/primitives/light/glowat) — A soft round glow at a position on the canvas.
- [`glowPoint`](/docs/primitives/light/glowpoint) — A soft glow at the center of a radial frame with no hard edge.
- [`beamBloom`](/docs/primitives/light/beambloom) — The soft pool of light at the start of a beam, with a wider faint shoulder around it.

## Used by

[StudioBackground](/docs/components/studiobackground)