outline8
outline8(
inputColor,inputUV,tex,options):Node<"vec4">
Defined in: packages/nodes/src/sprite/outline.ts:90
Add an outline effect with 8-directional sampling for smoother edges.
Parameters
inputColor
Node<"vec4">
The input color (typically texture sample result)
inputUV
Node<"vec2">
The UV coordinates
tex
The texture to sample for neighbor detection
options
OutlineOptions = {}
Outline configuration
Returns
Node<"vec4">
Color with outline applied