Studio and Graph › Voxel › Input
World Up
The world-up direction (0, 0, 1) broken out into components. Saves hard-coding a vector for slope masks and alignment maths.

The World Up node
When to use it
The world-up direction (0, 0, 1) broken out into components. Saves hard-coding a vector for slope masks and alignment maths.
Dot a normalised direction against it and you get the slope term every grass-on-the-flat, rock-on-the-cliffs rule is built from. Skip the normalise and you get a height instead.
Pins
| Pin | Type | Description |
|---|---|---|
X |
Number | Always 0. |
Y |
Number | Always 0. |
Z |
Number | Always 1. Up is up. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.