Adding support for "resurrecting" volumetric code, which is rendered to a separate channel and can be given separate colors.

This commit is contained in:
Rezmason
2021-09-19 21:48:17 -07:00
parent f17281ab4d
commit 80f5aea2a3
7 changed files with 149 additions and 28 deletions

View File

@@ -5,6 +5,7 @@ import makeBloomPass from "./bloomPass.js";
import makePalettePass from "./palettePass.js";
import makeStripePass from "./stripePass.js";
import makeImagePass from "./imagePass.js";
import makeResurrectionPass from "./resurrectionPass.js";
const canvas = document.createElement("canvas");
document.body.appendChild(canvas);
@@ -29,7 +30,9 @@ const effects = {
customStripes: makeStripePass,
stripes: makeStripePass,
pride: makeStripePass,
image: makeImagePass
image: makeImagePass,
resurrection: makeResurrectionPass,
resurrections: makeResurrectionPass
};
const config = makeConfig(window.location.search);