Bias Scalar: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
'''Node Description & Purpose:'''
'''Node Description & Purpose:'''
The Bias scalar node creates a curve, the shape of which depends on the '''Bias''' value. The output of the node is the value of the bias curve corresponding to the '''Input''' value. Here's a graph showing the bias curve at two different '''Bias''' values:
The Bias scalar node creates a curve, the shape of which depends on the '''Bias''' value. The output of the node is the value of the bias curve corresponding to the '''Input''' value. Here's a graph showing the bias curve at two different '''Bias''' values:
[[File:bias.gif]]


The output value will be between 0 and 1. The node expects both the '''Input''' and '''Bias''' values to be between 0 and 1. It does clamp these values to make sure that they are within that range.
The output value will be between 0 and 1. The node expects both the '''Input''' and '''Bias''' values to be between 0 and 1. It does clamp these values to make sure that they are within that range.

Revision as of 03:58, 11 July 2010

Bias Scalar

Bias Scalar


Node Description & Purpose: The Bias scalar node creates a curve, the shape of which depends on the Bias value. The output of the node is the value of the bias curve corresponding to the Input value. Here's a graph showing the bias curve at two different Bias values:

The output value will be between 0 and 1. The node expects both the Input and Bias values to be between 0 and 1. It does clamp these values to make sure that they are within that range.

Node Type: Function

Settings: Bias: The value defining the shape of the bias curve, as in the graph above.

Error conditions:

  • It is an error for there to be no Input value. In that case 0 is output from the node.
  • It is an error for there to be no Bias value. In this case the Input value will be output.