cubeMat.diffuseTexture = new Texture("./assets/background.png", scene);. Apparently, with webpack you have to import images before using them ...
確定! 回上一頁