inkTransmission
How much light passes one ink plate: white where the dot mask is 0, the ink color where it is 1.
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
printed = printed.mul(inkTransmission(uniforms.cyanColor, dotScreenMask(ctx.uv, ctx.aspect, uniforms.cyanAngle, cyan, uniforms.frequency)))
See also
dotScreenMask— The dot coverage of one halftone screen: 1 inside a dot, 0 between, with the dot size set by an ink amount.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.