Unity Products:Amplify Shader Editor/Common Transform Matrices

From Amplify Creations Wiki
Jump to navigation Jump to search

Back to Node List

Common Transform Matrices Node

The Common Transform Matrices node outputs the selected matrix on its Matrix option.
NOTE: We advise using either the Transform Position or Transform Direction as they are easier to use and you wont need to do an explicit multiplication between matrix and position/direction value.

Node Parameter Description Default Value
Matrix Selects which matrix to output.
  • Model View Projection: Current model view projection matrix
  • Model View: Current model view matrix
  • View: Current view matrix
  • Projection: Current projection matrix
  • View Projection: Current view projection matrix
  • Transpose Model View: Transpose of the current model view matrix
  • Inverse Transpose Model View: Inverse transpose of the current model view matrix
  • Object to World: Current model matrix
  • World to Object: Inverse of the current model matrix
Model View Projection


Output Port Description Type
Out Selected common transform matrix. Matrix4x4

Back to Node List