---
title: "channel.luminance"
description: "The color's brightness, 0 black to 1 white."
group: "simulation"
groupTitle: "Simulation"
categoryId: "sim.agentForces"
categorySlug: "sim-agentforces"
categoryTitle: "Agent forces"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/sim/agentForces.ts#L965"
---

# channel.luminance

The color's brightness, 0 black to 1 white.

```ts
channel.luminance: AgentChannel
```

Import `sim` from `shaders/std` and use `sim.agentForces.channel.luminance`.

## Example

```ts
channel: channel.luminance
```