ColorSpaceConversion

The ColorSpaceConversion Node

This Node can be used to convert a color from one color space into another, for example converting an RGB color into the HSV color space. When you add a ColorSpaceConversion block item to the VFX Node Graph, the Inspector window will change to show a list properties that can be edited:

The ColorSpaceConversion Parameters In The InspectorThe options available here are:

 

  • RGBA/HSVA/YUVA
    Here you can input the specific component values for the input color, depending on the FromColorSpace type that has been set. Values are from 0 - 1 and you can click on the color swatch to open the color picker and set the values from that.

 

  • FromColorSpace
    This parameter sets the color space that the input color belongs to. This can be either RGBA, HSVA, or YUVA.

 

  • ToColorSpace
    This parameter sets the color space that the input color should be converted to before being output. This can be either RGBA, HSVA, or YUVA.

 

 

Node Inputs

This node accepts the following the inputs:

 

  • InputColour
    This is a vec4 representing an input color. Colour can be in the RGB, HSV or YUV color spaces, which is set using the node properties.

 

 

Node Output

This node has the following option to define the output:

 

  • OutputColour
    This is a vec4 value that represents a color. The actual color being output will depend on the ToColorSpace setting and will be either RGBA, HSVA or YUVA.