addNormalMapPT.js 199 B

123456
  1. window.addNormalMapPT = function() {
  2. // 128 = the size of the base texture which is "amiga" here
  3. var nm = new BABYLON.NormalMapProceduralTexture("normalMapPT", 128, scene);
  4. return nm;
  5. };