Displacement Shader to Vector

From Terragen Documentation from Planetside Software
Revision as of 01:54, 27 December 2013 by Jo (talk | contribs)
Jump to navigation Jump to search

Node Description and Purpose:
The Displacement shader to vector node extracts the displacement generated by the connected shader and returns it as a vector.

In general, shaders may displace in any direction, so displacement is a vector. Note that if the output of this node connects to a function that expects a scalar input, a scalar will be generated from the length (magnitude) of the vector according to Terragen's conversion rules (see Node Input Type Conversion). Be aware that this may not give you the results you expect if the displacement is negative, because the resulting scalar will always be positive or 0. In some cases Displacement Shader to Scalar may be more suitable.

See also: Displacement Shader to Scalar


Node Type: Function


Settings:
This node has no other settings apart from the Input node.