Skip to content

fadeEdgeHorizontal

fadeEdgeHorizontal(inputColor, inputUV, edgeWidth?): Node <"vec4">

Defined in: packages/nodes/src/alpha/fadeEdge.ts:84

Fade alpha only on horizontal edges.

Node <"vec4">

The input color (vec4 with alpha)

Node <"vec2">

The UV coordinates

FloatInput = 0.1

Width of the fade region

Node <"vec4">

Color with horizontally faded alpha