Oops, fixing the URLs for the shaders

This commit is contained in:
Rezmason
2021-10-20 13:44:06 -07:00
parent f6e12ad795
commit b2f81cdb37
6 changed files with 9 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ import { loadText, make1DTexture, makePassFBO, makePass } from "./utils.js";
export default (regl, config, inputs) => {
const output = makePassFBO(regl, config.useHalfFloat);
const { backgroundColor } = config;
const resurrectionPassFrag = loadText("../shaders/resurrectionPass.frag");
const resurrectionPassFrag = loadText("shaders/resurrectionPass.frag");
const render = regl({
frag: regl.prop("frag"),