---
title: "emitterFalloff"
description: "How light spilling from an emitter dims with distance, with a long realistic tail."
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#L73"
---

# emitterFalloff

How light spilling from an emitter dims with distance, with a long realistic tail.

```ts
emitterFalloff(d: Expr, opts: {radius: Expr | number; power: Expr | number}): Expr
```

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

Returns 1 at the emitter, softened over `radius`, then fading like real light. `d` and `radius` share a unit (usually aspect-corrected uv). `power` 1 fades like a line of light, `power` 2 like a point. Use it where `glowPoint` looks too much like a soft blob.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `d` | `Expr` |  |
| `opts` | `{radius: Expr \| number; power: Expr \| number}` |  |

## Example

```ts
const spill = emitterFalloff(frame.member('x'), {radius: p('radius'), power: 2})
```

## See also

- [`glowPoint`](/docs/primitives/light/glowpoint) — A soft glow at the center of a radial frame with no hard edge.
- [`glowSpot`](/docs/primitives/light/glowspot) — A soft oval glow over an offset you have already scaled, the core of a bloom or a glare.