demonixis

Normal Matrix

Aug 14th, 2014
198
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var normalMatrixWorld = new BABYLON.Matrix();
  2. world.invert(normalMatrixWorld);
  3. normalMatrixWorld = BABYLON.Matrix.Transpose(normalMatrixWorld);
RAW Paste Data