Renaming the shaders again, because the extensions I gave them were confusing GitHub's syntax highlighting.

This commit is contained in:
Rezmason
2021-10-23 01:28:32 -07:00
parent a979e87564
commit 69d4e7365c
15 changed files with 9 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ export default (regl, config, inputs) => {
const output = makePassFBO(regl, config.useHalfFloat);
// The high pass restricts the blur to bright things in our input texture.
const highPassFrag = loadText("shaders/highPass.frag");
const highPassFrag = loadText("shaders/highPass.frag.glsl");
const highPass = regl({
frag: regl.prop("frag"),
uniforms: {
@@ -43,7 +43,7 @@ export default (regl, config, inputs) => {
// by blurring them all, this basic blur approximates a more complex gaussian:
// https://software.intel.com/en-us/articles/compute-shader-hdr-and-bloom
const blurFrag = loadText("shaders/blur.frag");
const blurFrag = loadText("shaders/blur.frag.glsl");
const blur = regl({
frag: regl.prop("frag"),
uniforms: {