Redirect Shader

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

Redirect Shader


Overview

The Redirect Shader "tricks" the shaders which are attached to it into thinking that the surface normal points along the positive X axis, positive Y axis or positive Z axis. Basically it modifies the shading state variable for the surface normal before calling the shaders, so that they think they are displacing a surface with a different normal. Any shader that displaces along the normal will then displace along these directions. Displacement in the negative X,Y,Z directions is accomplished if the displacement shader displaces negatively (e.g. if it indents a surface rather than raising it).

Settings:


  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Redirect shader nodes in a project.


  • Enable: When checked, the node is active and the settings below will affect the surface. When unchecked, the node is ignored.


  • X shader: The shader or function nodes assigned to this setting, will think that the surface normal points along the X axis.


  • Y shader: The shader or function nodes assigned to this setting, will think that the surface normal points along the Y axis.


  • Z shader: The shader or function nodes assigned to this setting, will think that the surface normal points along the Z axis.


Power fractal shader assigned to each of the X, Y, and Z axis.
Power fractal shader assigned to XYZ shader inputs.