---
title: "channel.luminanceInverted"
description: "One minus the brightness, so dark areas rise."
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#L974"
---

# channel.luminanceInverted

One minus the brightness, so dark areas rise.

```ts
channel.luminanceInverted: AgentChannel
```

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

## Example

```ts
channel: channel.luminanceInverted
```