All example project files for this and future tutorials can be found here https://www.dropbox.com/s/e3kio1s5q3hlvp7/Unreal_Tutorials.zip?dl=0
Please download and follow along with the examples and experiment - always the best way to learn!
Today we're going to be looking at some of the Vectors that Unreal makes available to us in the Material editor and how they might be useful in our shaders.
Note that so far we've been using Vectors mostly as colours, but there's a couple of super useful Vector3s - Position and Direction. In each case the XYZ either describes a coordinate (such as 0,0,0 being the Origin of the world) or a direction Unit Vector (a unit vector just means that the length of the vector is 1) such as 1,0,0 pointing directly along the X axis.
Because we're going to be previewing positions and directions via colour some of the previews might not be that helpful but, as always, take the time to apply the test material to a mesh and move it around the level to see how things are working.