Max Scalar

From Terragen Documentation from Planetside Software
Revision as of 23:50, 21 February 2022 by Redmaw (talk | contribs) (Added Max Scalar chart.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Max Scalar
Max Scalar


Overview

The Max Scalar node allows you to clamp, or restrict, the values of the colour or scalar coming into the Main Input to the value specified in Input 2. If the Main Input value is less than Input 2’s value, it will be raised to Input 2’s value.


The Max Scalar node raises any values that are less than the value assigned to its Input 2, to that value.
The Max Scalar node raises any values that are less than the value assigned to its Input 2, to that value.


In the example below, an EXR image containing vector data is assigned to the Main Input of the Max Scalar node. Visually, the green pixels represent data above a value of 0 in the Y axis, whereas the magenta pixels indicate a blend of positive and negative values lying on the X and Z axis. When enabled, the Max Scalar node raises any values of the Main Input which are less than the value assigned to its Input 2 setting, to that value.

    The Max Scalar node raises any values that are less than the value assigned to its Input 2, to that value.
    The Max Scalar node raises any values that are less than the value assigned to its Input 2, to that value.


Settings:

  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Max Scalar nodes in a project.
  • Enable: When checked, the node is active and values from the Main Input which are less than the value from Input 2, are raised to that amount. When unchecked, the Main Input value is passed through the node.