screenGlow
An effect that shines emitted light onto the layer inside it, the way light hits film.
screenGlow(glow: (params: FilterParams) => Expr): PointwiseEffect
Import light from shaders/std and use light.screenGlow.
Pass a function that builds the light's RGB from the params. The light is screened over the child, pushed toward overexposure where it is bright, and shows even over transparent areas. Build the light with beamFrame, beamBloom, beamStreaks and heatRamp.
Parameters
| Name | Type | Notes |
|---|---|---|
glow | (params: FilterParams) => Expr |
Example
effect: screenGlow((params) => heatRamp({hot: p('colorHot'), mid: p('colorMid'), fringe: p('colorFringe')}).taps(heat, params))
See also
heatRamp— The colors of overexposed light, from a dim fringe through a mid tone to a hot core.beamFrame— The frame of a beam that starts at an anchor prop and points at the canvas center.