child

The layer inside this one, as a source for an input.

child: ChildSource

Import child from shaders/std.

blur(child, {radius: 12}) blurs it.

See also

  • blur — A blurred copy of a source, read in WGSL by the name you list it under.
  • bloom — The glow around a source's bright parts, read by name.
  • downsample — A smaller copy of a source, box-filtered so it does not alias.

Keep reading