Difference between revisions of "Colour Adjust Shader"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
m (Added GUI images for tabs.)
m (Added description for Input Levels Tab.)
Line 18: Line 18:
 
[[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. 
 +
 +
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.
 +
 +
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>

Revision as of 00:32, 6 February 2021

Colour Adjust Shader


Overview[edit]

The Colour Adjust Shader allows you to adjust the colour of the input shader using the Black and White points, and Gamma.


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:
    • Clamp above white:


Input Levels Tab[edit]

Input Levels Tab

This tab contains four sliders for manipulating the values from the Main input.

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.

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.

    • Black point (slider with Colour picker):
      White point = 1.  Black point values set to -1.0, -0.5, 0.0, 0.5 and 1.0
    • Black point (median slider):
    • White point (slider with Colour picker):
      Black point = 0.  White point values set to 2.0, 1.5, 1.0, 0.5 and 0.0
    • White point (median slider):


      Black and White points at various values.


Gamma Tab[edit]

Gamma Tab


    • Gamma (slider with Colour picker):
      Gamma point at 0.0, 0.25, 0.5, 0.75 and 1.0
    • Gamma point (median slider):



A shader is a program or set of instructions used in 3D computer graphics to determine the final surface properties of an object or image. This can include arbitrarily complex descriptions of light absorption and diffusion, texture mapping, reflection and refraction, shadowing, surface displacement and post-processing effects. In Terragen 2 shaders are used to construct and modify almost every element of a scene.

A single object or device in the node network which generates or modifies data and may accept input data or create output data or both, depending on its function. Nodes usually have their own settings which control the data they create or how they modify data passing through them. Nodes are connected together in a network to perform work in a network-based user interface. In Terragen 2 nodes are connected together to describe a scene.