childTap

The child's own color at this pixel, unchanged.

childTap(): SampleStage

Import effects from shaders/std and use effects.blurs.childTap.

The sampling stage for an effect that only adds something around the child, like a shadow.

Example

effect: gatherStack(childTap(), [shadowComposite({coverage, color: p('color'), intensity: p('intensity'), cutout: p('cutout')})])

See also

  • shadowComposite — A tinted shadow behind the child.
  • crispTap — One clean sample of the child at a frame's warped coordinate.

Used by

DropShadow