Reputation: 13
I have found this doc for Vector4
in Unity engine. What do you need a Vector4 for? Also, apart from the x, y, and z
axes, what is the w axis
for?
Upvotes: 1
Views: 3439
Reputation: 76
I found this
In OpenGL vertex shaders, what is w, and why do I divide by it?
Thread which explains why the w - component is used in an opengl vertex shader, in unity it should pretty much have the same meaning.
Upvotes: 1