Import Displacement Variable
VEX node
Imports the value of the specified variable from a displacement shader and stores it in “var”.
See also: Global Variables, Import Light Variable, Import Surface Variable
This operator imports the value of the specified variable from a displacement shader and stores it in “var”. “found” is set to 1 if the variable is found, otherwise it is set to 0.
If the variable being imported is not found, the value connected to the “default” input is assigned to the output value. If no input is connected to “default”, the value is initialized to 0.
Usages in other examples
| Example name | Example for | |
|---|---|---|
| Fire Pit example |
Material shader |
|
| Down Hill Lava Flow |
Material shader |