   engine
        .loadResourcesAsync([
          "/texture/sprites/snowflake2.png",
          "/texture/sprites/spark1.png",
        ])
        .then(() => {
          const texture = generateConfig("ImageTexture", {
            url: "/texture/sprites/snowflake2.png",
          });

          const texture2 = generateConfig("ImageTexture", {
            url: "/texture/sprites/spark1.png",
            flipY: true,
            magFilter: THREE.LinearFilter,
            minFilter: THREE.LinearMipmapLinearFilt