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

@@ -25,7 +25,7 @@ export default (regl, config, inputs) => {
const vBlurPyramid = makePyramid(regl, pyramidHeight, config.useHalfFloat);
const output = makePassFBO(regl, config.useHalfFloat);
const highPassFrag = loadText("../shaders/highPass.frag");
const highPassFrag = loadText("shaders/highPass.frag");
// The high pass restricts the blur to bright things in our input texture.
const highPass = regl({
@@ -41,7 +41,7 @@ export default (regl, config, inputs) => {
// The FBO pyramid's levels represent separate levels of detail;
// by blurring them all, this 3x1 blur approximates a more complex gaussian.
const blurFrag = loadText("../shaders/blur.frag");
const blurFrag = loadText("shaders/blur.frag");
const blur = regl({
frag: regl.prop("frag"),
uniforms: {