Skip to content

fadeEdgeVertical

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

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

Fade alpha only on vertical edges.

Parameters

inputColor

Node<"vec4">

The input color (vec4 with alpha)

inputUV

Node<"vec2">

The UV coordinates

edgeWidth

FloatInput = 0.1

Width of the fade region

Returns

Node<"vec4">

Color with vertically faded alpha