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

@@ -6,7 +6,7 @@ export default (regl, config, inputs) => {
const output = makePassFBO(regl, config.useHalfFloat);
const bgURL = "bgURL" in config ? config.bgURL : defaultBGURL;
const background = loadImage(regl, bgURL);
const imagePassFrag = loadText("../shaders/imagePass.frag");
const imagePassFrag = loadText("shaders/imagePass.frag");
const render = regl({
frag: regl.prop("frag"),
uniforms: {