opaque
Closes a three-channel stack as a solid color with alpha 1.
opaque(): OverlayStage
Import effects from shaders/std and use effects.blurs.opaque.
Put it last after rgbSplit, adjust, scanlines, phosphorMask or vignetteOverlay, which work on color only and drop the child's alpha.
Example
effect: gatherStack(rgbSplit({amount: 1}), [scanlines({frequency: 200, intensity: 0.3}), opaque()])
See also
rgbSplit— The child with its red and blue pulled a little to either side, like a misaligned CRT.gatherStack— Assemble an effect from one sampling stage and an ordered list of overlay stages.