Scalar to Vector

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
Scalar to Vector
Scalar to Vector


Overview

The Scalar to vector node converts the Input scalar into a vector. This conversion happens according to the node input type conversion rules which are described in the Node Input Type Conversion documentation.


When converting a scalar to a vector, each component of the vector is simply set to the value of the scalar :


Node network view of Smooth voronoi scalar function node assigned to Scalar to vector node, then displaced with Vector displacement shader.
Node network view of Smooth voronoi scalar function node assigned to Scalar to vector node, then displaced with Vector displacement shader.
Render showing Smooth voronoi scalar function assigned to Scalar to vector node, then displaced with Vector displacement shader.
Render showing Smooth voronoi scalar function assigned to Scalar to vector node, then displaced with Vector displacement shader.


These nodes have no other settings apart from the Input node.


Settings:

  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Scalar to Vector nodes in a project.
  • Enable: When checked, the node is active and the conversion operation will take place. When unchecked the values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through.