LookAt vector in material?

Is there a way to calculate LookAt vector (from point 1 to point 2) in materials?

Oh. Thanks! :slight_smile:

For what it takes, vector from StartPoint to EndPoint = EndPoint - StartPoint

If you need a unit vector, you can normalize the result after.