fadeEdgeHorizontal
fadeEdgeHorizontal(
inputColor,inputUV,edgeWidth):Node<"vec4">
Defined in: packages/nodes/src/alpha/fadeEdge.ts:84
Fade alpha only on horizontal 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 horizontally faded alpha