fadeEdgeHorizontal
fadeEdgeHorizontal(
inputColor,inputUV,edgeWidth?):Node<"vec4">
Defined in: packages/nodes/src/alpha/fadeEdge.ts:84
Fade alpha only on horizontal edges.
Parameters
Section titled “Parameters”inputColor
Section titled “inputColor”Node <"vec4">
The input color (vec4 with alpha)
inputUV
Section titled “inputUV”Node <"vec2">
The UV coordinates
edgeWidth?
Section titled “edgeWidth?”FloatInput = 0.1
Width of the fade region
Returns
Section titled “Returns”Node <"vec4">
Color with horizontally faded alpha