grayscale

Last modified: Aug 27, 2024

Computes a grayscale value for the given RGB color value.

ParameterTypeDefault Value
colorNode<vec3>

Returns

Node<vec3>

saturation

Super-saturates or desaturates the given RGB color.

ParameterTypeDefault Value
colorNode<vec3>
adjustment?Node<float>

Returns

Node<vec3>

vibrance

Selectively enhance the intensity of less saturated RGB colors. Can result in a more natural and visually appealing image with enhanced color depth compared to ColorAdjustment#saturation.

ParameterTypeDefault Value
colorNode<vec3>
adjustment?Node<float>

Returns

Node<vec3>

hue

Updates the hue component of the given RGB color while preserving its luminance and saturation.

ParameterTypeDefault Value
colorNode<vec3>
adjustment?Node<float>

Returns

Node<vec3>

luminance

Computes the luminance for the given RGB color value.

ParameterTypeDefault Value
colorNode<vec3>
luminanceCoefficientsNode<vec3>

Returns

Node<float>

cdl

Color Decision List (CDL) v1.2

Compact representation of color grading information, defined by slope, offset, power, and saturation. The CDL should be typically be given input in a log space (such as LogC, ACEScc, or AgX Log), and will return output in the same space. Output may require clamping >=0.

ParameterTypeDefault Value
colorNode<vec4>
slopeNode<vec3>
offsetNode<vec3>
powerNode<vec3>
saturationNode<float>
luminanceCoefficientsNode<vec3>

Returns

Node<vec4>
N E W

posterize

TSL function for creating a posterize effect which reduces the number of colors in an image, resulting in a more blocky and stylized appearance.

ParameterTypeDefault Value
sourceNodeNode
stepsNodeNode

Returns

Node