To Value node

Left Toolbar > Texture icon Value Nodes > To Value icon To Value node

The To Value node converts an image of any color mode to VALUE color mode.

M monochromatic images are converted to minimum = 0.0 and maximum = 1.0. MA monochromatic-alpha loose the alpha channel. RGB images are converted to monochromatic and minimum = 0.0 and maximum = 1.0. RGBA images loose the alpha channel. HSVA images loose the Hue, Saturation and Alpha channels. NORMAL images are set to 1.0.

input
Tex An RGB image

output
In2 Tex The RGB image as a VALUE image.

Procedure

To convert an image to VALUE mode:

  1. On the left toolbar choose Value Nodes > To Value. Value icon > To Value icon

  2. Drag the To Value icon into the Node Graph.

    To Value node

  3. Adjust the attributes of the To Value node.

Inputs

Img An image.

Outputs

Img An image in VALUE color mode.

Attributes Panel

To Value attributes

Min Defines the minimum value of the image. For example, if the input is monochromatic, the black pixels are set to the minimum value.

Max Defines the maximum value of the image. For example, if the input is monochromatic, the white pixels are set to the maximum value.