Changed the gpu-buffer imports to use a relative path.

This commit is contained in:
Rezmason
2021-11-15 07:41:33 -08:00
parent b5d9e106fb
commit aa56cc4256
6 changed files with 6 additions and 6 deletions

View File

@@ -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.

View File

@@ -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";

View File

@@ -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

View File

@@ -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;

View File

@@ -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,

View File

@@ -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