mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-22 07:39:30 -07:00
Moved looking glass context logic into an "lkgHelper" module. Fixed math issues.
This commit is contained in:
@@ -3,11 +3,7 @@ import { loadImage, loadText, makePassFBO, makePass } from "./utils.js";
|
||||
// Multiplies the rendered rain and bloom by a loaded in image
|
||||
|
||||
export default ({ regl, config, lkg }, inputs) => {
|
||||
let enabled = lkg.tileX * lkg.tileY > 1;
|
||||
|
||||
// enabled = false;
|
||||
|
||||
if (!enabled) {
|
||||
if (!lkg.enabled) {
|
||||
return makePass({
|
||||
primary: inputs.primary,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user