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
Section titled “Parameters”inputColor
Section titled “inputColor”Node <"vec4">
The input color (typically texture sample result)
inputUV
Section titled “inputUV”Node <"vec2">
The UV coordinates
The texture to sample for neighbor detection
options?
Section titled “options?”OutlineOptions = {}
Outline configuration
Returns
Section titled “Returns”Node <"vec4">
Color with outline applied