Gain Scalar: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
jrfconvert import
 
No edit summary
Line 3: Line 3:


[[Image:drex_module_92_image_0.png|485pxpx|Gain Scalar]]
[[Image:drex_module_92_image_0.png|485pxpx|Gain Scalar]]
'''Node Description & Purpose: '''<br /> The Gain scalar node creates a curve, the shape of which depends on the '''Gain''' value. The output of the node is the value of the gain curve corresponding to the '''Input''' value. Here's a graph showing the gain curve at two different '''Gain''' values:<br /><br />
<div><center>[[Image:Gain.gif]]</center></div>
<br /> The output value will be between 0 and 1. The node expects both the '''Input''' and '''Gain''' values to be between 0 and 1. It does clamp these values to make sure that they are within that range.<br /><br />'''Node Type: '''Function<br /><br />'''Settings: '''<br />
* '''Gain: '''The value defining the shape of the gain curve, as in the graph above.
<br />'''Error conditions:'''<br />
* 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 '''Gain''' value. In this case the '''Input''' value will be output.
__NOTOC__
__NOTOC__
<!-- imported from file: module_92.html-->
<!-- imported from file: module_92.html-->

Revision as of 20:13, 28 April 2011

Gain Scalar

Gain Scalar

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


The output value will be between 0 and 1. The node expects both the Input and Gain 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:

  • Gain: The value defining the shape of the gain 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 Gain value. In this case the Input value will be output.