import * as ProceduralTexturesLib from "../src/index"; /** * Legacy support, defining window.BABYLON.GridMaterial... (global variable). * * This is the entry point for the UMD module. * The entry point for a future ESM package should be index.ts */ var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined); if (typeof globalObject !== "undefined") { (globalObject).BABYLON = (globalObject).BABYLON || {}; for (var mat in ProceduralTexturesLib) { if (ProceduralTexturesLib.hasOwnProperty(mat)) { (globalObject).BABYLON[mat] = (ProceduralTexturesLib)[mat]; } } } export * from "../src/index";