diff --git a/js/webgpu/bloomPass.js b/js/webgpu/bloomPass.js index 18ce604..6fef65b 100644 --- a/js/webgpu/bloomPass.js +++ b/js/webgpu/bloomPass.js @@ -1,4 +1,4 @@ -import { structs } from "/lib/gpu-buffer.js"; +import { structs } from "../../lib/gpu-buffer.js"; import { makeComputeTarget, makePyramidView, loadShader, makeUniformBuffer, makeBindGroup, makePass } from "./utils.js"; // The bloom pass is basically an added blur of the rain pass's high-pass output. diff --git a/js/webgpu/main.js b/js/webgpu/main.js index 0ef660b..c88bf07 100644 --- a/js/webgpu/main.js +++ b/js/webgpu/main.js @@ -1,4 +1,4 @@ -import { structs } from "/lib/gpu-buffer.js"; +import { structs } from "../../lib/gpu-buffer.js"; import { getCanvasSize, makeUniformBuffer, makePipeline } from "./utils.js"; import makeRain from "./rainPass.js"; diff --git a/js/webgpu/palettePass.js b/js/webgpu/palettePass.js index 37212ec..5e9a8e4 100644 --- a/js/webgpu/palettePass.js +++ b/js/webgpu/palettePass.js @@ -1,4 +1,4 @@ -import { structs } from "/lib/gpu-buffer.js"; +import { structs } from "../../lib/gpu-buffer.js"; import { loadShader, makeUniformBuffer, makeBindGroup, makeComputeTarget, makePass } from "./utils.js"; // Maps the brightness of the rendered rain and bloom to colors diff --git a/js/webgpu/rainPass.js b/js/webgpu/rainPass.js index c22c30e..5fa250d 100644 --- a/js/webgpu/rainPass.js +++ b/js/webgpu/rainPass.js @@ -1,4 +1,4 @@ -import { structs, byteSizeOf } from "/lib/gpu-buffer.js"; +import { structs, byteSizeOf } from "../../lib/gpu-buffer.js"; import { makeRenderTarget, loadTexture, loadShader, makeUniformBuffer, makeBindGroup, makePass } from "./utils.js"; const { mat4, vec3 } = glMatrix; diff --git a/js/webgpu/resurrectionPass.js b/js/webgpu/resurrectionPass.js index 0b149ed..cb3893d 100644 --- a/js/webgpu/resurrectionPass.js +++ b/js/webgpu/resurrectionPass.js @@ -1,4 +1,4 @@ -import { structs } from "/lib/gpu-buffer.js"; +import { structs } from "../../lib/gpu-buffer.js"; import { loadShader, makeUniformBuffer, makeComputeTarget, makeBindGroup, makePass } from "./utils.js"; // Matrix Resurrections isn't in theaters yet, diff --git a/js/webgpu/stripePass.js b/js/webgpu/stripePass.js index 6a74fbd..8841039 100644 --- a/js/webgpu/stripePass.js +++ b/js/webgpu/stripePass.js @@ -1,4 +1,4 @@ -import { structs } from "/lib/gpu-buffer.js"; +import { structs } from "../../lib/gpu-buffer.js"; import { loadShader, make1DTexture, makeUniformBuffer, makeBindGroup, makeComputeTarget, makePass } from "./utils.js"; // Multiplies the rendered rain and bloom by a 1D gradient texture