Adjust Saturation Colour

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
Adjust Colour Saturation
Adjust Colour Saturation


Overview

The Adjust colour saturation node allows you to desaturate the colour values coming into the Main Input by the value assigned to Input 2. Like the Colour to greyscale colour node, the final desaturation value is based on the luminance value of the colour.

  • luminance = 0.2125 * r + 0.7152 * g + 0.0724 * b


Settings:

  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Adjust colour saturation nodes in a project.
  • Enable: When checked, the node is active, and the Main input values will be desaturated. When unchecked the values from the Main input are passed through without any modification.
  • Saturation: The value from the shader or function nodes assigned to this setting control the amount of desaturation to the values assigned to the Main Input.


In the example image below, an image map assigned to the Main Input is desaturated by a Constant scalar node assigned to Input 2. With a Constant scalar node value of 0, the Main Input values are completely desaturated, and with a Constant scalar node value of 1, no desaturation takes place.

    A Constant scalar node assigned to Input 2, can control the amount of saturation that takes place.
    A Constant scalar node assigned to Input 2, can control the amount of saturation that takes place.


Desaturation can take place on a component level as well. In the example image below, an image map assigned to the Main Input is desaturated by a Constant vector node assigned to Input 2. When an RGB component value is 0 the component is completely desaturated, and where the component value is 1 no desaturation takes place.

    Desaturation can take place at the component level, i.e. each RGB channel of the Main input, by assigning a Constant vector node to Input 2.