Luminance to Scalar

From Terragen Documentation from Planetside Software
Revision as of 01:08, 29 April 2011 by JavaJones (talk | contribs)
Jump to: navigation, search

Luminance to Scalar[edit]

Luminance to Scalar

Node Description & Purpose:
The Luminance to scalar node calculates the luminance of the Input colour and then outputs the luminance as a scalar.

Node Type: Function

Settings:
This node has no other settings apart from the Input node.


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

This is essentially the brightness of the colour. Terragen converts RGB colours to greyscale by taking the luminance of the colour.

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.