Power Scalar: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
No edit summary
Redmaw (talk | contribs)
Conformed layout & updated GUI image.
 
Line 1: Line 1:
[[Image:drex_module_82_image_0.png|485pxpx|Power Scalar]]
<div style="float:right; border-style:solid; padding:20px"><categorytree mode=pages hideroot=off>Power</categorytree></div>


'''Node Description & Purpose: '''<br /> The Power family of nodes output the '''Input''' value raised to the power of the '''Input 2''' value:<br /><br /> Output = Input '''to the power of''' Input 2<br /><br /> For colours the calculation is done on a component-wise basis, for example: <br /><br /> Output.red = Input.red '''to the power of''' Input 2.red<br /> Output.green = Input.green '''to the power of''' Input 2.green<br /> Output.blue = Input.blue '''to the power of''' Input 2.blue<br /><br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> These nodes just have one other setting, which lets you choose a node for '''Input 2'''.


<!-- imported from file: module_82.html-->
[[File:PowerScalar_00_GUI.png|none|470px|Power Scalar]]
 
 
== Overview ==
The Power family of nodes output the '''Main Input''' value raised to the power of the '''Input 2''' value:
 
 
Output = Input '''to the power of''' Input 2
 
 
For colours the calculation is done on a component-wise basis, for example:
 
 
Output.red = Input.red '''to the power of''' Input 2.red <br /n>
Output.green = Input.green '''to the power of''' Input 2.green <br /n>
Output.blue = Input.blue '''to the power of''' Input 2.blue <br /n>
 
 
'''Settings:'''
*'''Name:''' This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Power scalar nodes in a project.
*'''Enable:''' When checked, the node is active, and when unchecked the node is ignored.
*'''Input 2:''' The shader or function nodes assigned to this setting provide the exponent value, that is,the number of times the base value (Main input) is multiplied by itself.
 
 
<br /n>
 


[[Category:Power]]
[[Category:Power]]

Latest revision as of 20:41, 5 April 2022


Power Scalar
Power Scalar


Overview

The Power family of nodes output the Main Input value raised to the power of the Input 2 value:


Output = Input to the power of Input 2


For colours the calculation is done on a component-wise basis, for example:


Output.red = Input.red to the power of Input 2.red
Output.green = Input.green to the power of Input 2.green
Output.blue = Input.blue to the power of Input 2.blue


Settings:

  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Power scalar nodes in a project.
  • Enable: When checked, the node is active, and when unchecked the node is ignored.
  • Input 2: The shader or function nodes assigned to this setting provide the exponent value, that is,the number of times the base value (Main input) is multiplied by itself.