Colour Adjust Shader: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
Redmaw (talk | contribs)
m Added new example images to Overview section and updated Overview description and global settings. More to come.
Redmaw (talk | contribs)
m Removed median slider settings. Replaced example images for Black & White point settings. Added example image for source texture.
Line 40: Line 40:
[[File:ColoruAdj_01_GUI_InputLevelsTab.png|none|470px|Input Levels Tab]]
[[File:ColoruAdj_01_GUI_InputLevelsTab.png|none|470px|Input Levels Tab]]


This tab contains four sliders for manipulating the values from the Main input.   
This tab contains settings for manipulating the colour values from the Main input.  Use the “Black point” slider to define the colour value you wish to be the lowest value and the “White point” slider to define the colour value you wish to be used as the highest values.  Values can extend beyond 0 and 1.


Use the “Black point” slider to remap the lowest (black) values and the “White point” slider to remap the highest (white) values.  Values can extend beyond 0 and 1.


The value displayed from the sliders with a colour picker button to their right represent the largest of the three RGB components that make up the color.
In the example images below this Power fractal pattern was used as the source texture.
[[File:ColourAdj_17_FractalNoisePattern.jpg|none|200px|Fractal noise pattern used as texture in example images below.]]


The sliders without the colour picker button are “median” sliders, that is their value represents the middle value of the three RGB components when placed in order from smallest to largest.  This allows you to shift the colours up or down without changing the spacing of the RGB values within the colour, which is helpful when dealing with negative black points.  This value is expressed in linear sRGB. 


<ul>
<ul>
* ''' Black point (slider with Colour picker):'''
* ''' Black point:'''
<ul>
<ul>
[[File:ColourAdj_03_BlackPontValues.jpg|none|800px|White point = 1.  Black point values set to -1.0, -0.5, 0.0, 0.5 and 1.0]]
[[File:ColourAdj_15_BlackPntSlider.jpg|none|800px|White point = 1.  Black point values set to -1.0, -0.5, 0.0, 0.5 and 1.0]]
</ul>
</ul>
* ''' Black point (median slider):'''
* ''' White point (slider with Colour picker):'''
<ul>
[[File:ColourAdj_04_WhitePointValues.jpg|none|800px|Black point = 0.  White point values set to 2.0, 1.5, 1.0, 0.5 and 0.0]]
</ul>
* ''' White point (median slider):'''


* ''' White point:'''
<ul>
<ul>
[[File:ColourAdj_05_BlackAndWhitePointValues.jpg|none|800px|Black and White points at various values.]]
[[File:ColourAdj_16_WhitePntSlider.jpg|none|800px|Black point = 0.  White point values set to 2.0, 1.5, 1.0, 0.5 and 0.0]]
</ul>
</ul>
</ul>
</ul>




Line 74: Line 65:


<ul>
<ul>
* ''' Gamma (slider with Colour picker):'''
* ''' Gamma:'''
<ul>
<ul>
[[File:ColourAdj_06_Gamma.jpg|none|800px|Gamma point at 0.0, 0.25, 0.5, 0.75 and 1.0]]
[[File:ColourAdj_06_Gamma.jpg|none|800px|Gamma point at 0.0, 0.25, 0.5, 0.75 and 1.0]]
</ul>
</ul>
* ''' Gamma point (median slider):'''
 
</ul>
</ul>



Revision as of 02:31, 12 February 2021

Colour Adjust Shader
Colour Adjust Shader


Overview

The Colour Adjust shader allows you to define the black point or white point of the shader or function nodes assigned to its Main input.

It is similar to a levels control in the sense that sliding the black point or the white point raises or lowers the darkest and brightest values.


Increasing the value of the Black point slider darkens the surface.
Increasing the value of the Black point slider darkens the surface.


Decreasing the value of the White point slider lightens the surface.
Decreasing the value of the White point slider lightens the surface.


Adjusting both Black and White points can darken and lighten parts the surface that are outside the values chosen by the sliders.
Adjusting both Black and White points can darken and lighten parts the surface that are outside the values chosen by the sliders.


Settings:

    • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Colour adjust nodes in a project.
    • Clamp below black: When checked, the colour values that are below black (sRBG 0,0,0) are set to black. This is useful when adjusted values become negative values, for example (-1.0,0.5,0.0). Prior to being output the negative values are reset to (0.0,0.5,0.0).
    • Clamp above white: When checked, the colour values that exceed beyond white (sRGB 255,255,255) are set to white. This is useful when adjusted values become "super-bright", for example (5.0,0.75,1.0). Prior to being output the super-bright values are reset or clamped to (1.0,0.75,1.0).


Input Levels Tab

Input Levels Tab
Input Levels Tab

This tab contains settings for manipulating the colour values from the Main input. Use the “Black point” slider to define the colour value you wish to be the lowest value and the “White point” slider to define the colour value you wish to be used as the highest values. Values can extend beyond 0 and 1.


In the example images below this Power fractal pattern was used as the source texture.

Fractal noise pattern used as texture in example images below.
Fractal noise pattern used as texture in example images below.


    • Black point:
      White point = 1. Black point values set to -1.0, -0.5, 0.0, 0.5 and 1.0
      White point = 1. Black point values set to -1.0, -0.5, 0.0, 0.5 and 1.0
    • White point:
      Black point = 0. White point values set to 2.0, 1.5, 1.0, 0.5 and 0.0
      Black point = 0. White point values set to 2.0, 1.5, 1.0, 0.5 and 0.0


Gamma Tab

Gamma Tab
Gamma Tab


    • Gamma:
      Gamma point at 0.0, 0.25, 0.5, 0.75 and 1.0
      Gamma point at 0.0, 0.25, 0.5, 0.75 and 1.0