paperGrain

Fine paper grain for the pigment to settle into, one brightness value per screen pixel.

paperGrain(slots: {amount: PropRef}): GatherStage

Import effects from shaders/std and use effects.stylize.paperGrain.

amount runs 0 to 1; at 0 the grain is left out entirely. Returns the stage for the grain slot of wash. Pass the same prop as paper there too.

Parameters

NameTypeNotes
slots{amount: PropRef}

Example

grain: paperGrain({amount: p('paper')})

Tip. Give the amount prop recompile: crosses(0).

See also

  • wash — The watercolor look: the layer inside flattened into soft patches of color over paper grain.

Used by

Watercolor