softRayLobes
rayLobes with a softness slider instead of a sharpness.
softRayLobes(slots: {count: ArgSpec; softness: ArgSpec; spin: number}): LightPart
Import light from shaders/std and use light.softRayLobes.
softness 0 gives crisp rays and 1 gives wide soft ones. The rays widen without moving. spin is a plain number scaling the layer's clock: negative turns clockwise.
Parameters
| Name | Type | Notes |
|---|---|---|
slots | {count: ArgSpec; softness: ArgSpec; spin: number} |
Example
coverage: withFrame(radialFrame(p('center')), softRayLobes({count: p('rayCount'), softness: p('softness'), spin: -1}))
See also
rayLobes— Soft rays fanning out from the center of a radial frame, turning with the layer's clock.featherMask— A round mask that is solid inside a radius and fades out at its edge.