1

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?

nonbeing
  • 6,907
  • 6
  • 36
  • 46
Tim Wendt
  • 13
  • 1
  • 5

1 Answers1

1

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.

Community
  • 1
  • 1