Constant Colour

From Terragen Documentation from Planetside Software
Jump to: navigation, search
Constant Colour


The Constant family of nodes allows you to create colour, vector, or scalar values, which may be used as input for other nodes. Scalar values consist of a single number or magnitude, while vector and colour values are made up of several components, such as the values that make up the red, green, and blue channel of a particular colour.

Like all nodes in Terragen, the output from a Constant node can be used as input to multiple nodes. For example, you can create one Constant scalar node and connect its output to as many inputs as you need.

    The output of a Constant node may be used as input to multiple nodes.


  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Constant Colour nodes in a project.
  • Enable: When checked, the node is active and the colour value defined by its settings below is output. When unchecked the colour values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through.
  • Colour: This setting allows you to choose a colour via the slider or colour picker. Clicking the colour swatch to the right of the setting opens up the colour picker window. The slider may also be used as a master control to darken or brighten the chosen RGB colour values.
  • R: This setting defines the red channel value.
  • G: This setting defines the green channel value.
  • B: This setting defines the blue channel value.

A vector is a set of three scalars, normally representing X, Y and Z coordinates. It also commonly represents rotation, where the values are pitch, heading and bank.

A scalar is a single number. 1, 200.45, -45, -0.2 are all examples of scalar values.

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.