From bd6c575677c625972e2a255807fd70328c727526 Mon Sep 17 00:00:00 2001 From: Mottributo <87079566+Mottributo@users.noreply.github.com> Date: Sun, 26 Mar 2023 20:43:30 +0300 Subject: [PATCH] enabling and disabling shadows --- sketch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/sketch.js b/sketch.js index 047aedf..8628fcd 100644 --- a/sketch.js +++ b/sketch.js @@ -1089,6 +1089,7 @@ function keyPressed() { } } if (keyCode == 77 /*M*/) showDebugData = !showDebugData; + if (keyCode == 78 /*N*/) shadows_enabled = !shadows_enabled; } function keyReleased() { console.log(frameCount + ' released ' + key + ' ' + keyCode);