Is there a way to calculate LookAt vector (from point 1 to point 2) in materials?
Oh. Thanks!
For what it takes, vector from StartPoint to EndPoint = EndPoint - StartPoint
If you need a unit vector, you can normalize the result after.
Is there a way to calculate LookAt vector (from point 1 to point 2) in materials?
Oh. Thanks!
For what it takes, vector from StartPoint to EndPoint = EndPoint - StartPoint
If you need a unit vector, you can normalize the result after.