Skip to content

grayscale(inputColor): Node <"vec4">

Defined in: packages/nodes/src/color/saturate.ts:49

Convert color to grayscale using luminance weights. Shorthand for saturate(color, 0).

Node <"vec4">

The input color (vec4 with alpha)

Node <"vec4">

Grayscale color

grayscale(texture(tex, uv()))