Skip to content

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.

Node <"vec4">

The input color (typically texture sample result)

Node <"vec2">

The UV coordinates

Texture 

The texture to sample for neighbor detection

OutlineOptions = {}

Outline configuration

Node <"vec4">

Color with outline applied