---
title: "inkTransmission"
description: "How much light passes one ink plate: white where the dot mask is 0, the ink color where it is 1."
group: "paint"
groupTitle: "Painting"
categoryId: "patterns"
categorySlug: "patterns"
categoryTitle: "Patterns & tiling"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/paint/patterns.ts#L853"
---

# inkTransmission

How much light passes one ink plate: white where the dot mask is 0, the ink color where it is 1.

```ts
inkTransmission(inkColor: Expr, inkMask: Expr): Expr
```

Import `patterns` from `shaders/std` and use `patterns.inkTransmission`.

Returns RGB. Multiply the plates together over a paper color to lay the inks down in order. The ink's alpha scales its strength.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `inkColor` | `Expr` |  |
| `inkMask` | `Expr` |  |

## Example

```ts
printed = printed.mul(inkTransmission(uniforms.cyanColor, dotScreenMask(ctx.uv, ctx.aspect, uniforms.cyanAngle, cyan, uniforms.frequency)))
```

## See also

- [`dotScreenMask`](/docs/primitives/patterns/dotscreenmask) — The dot coverage of one halftone screen: 1 inside a dot, 0 between, with the dot size set by an ink amount.
- [`cmykPress`](/docs/primitives/patterns/cmykpress) — A four-color print filter: the layer inside it separated into ink plates, each screened into dots at its own angle and laid down on paper in order.