From fea2e17cd0fc10baa57c7290e4e3681430bbb578 Mon Sep 17 00:00:00 2001 From: Andreas Sundquist Date: Tue, 8 Jul 2025 09:24:50 -0700 Subject: [PATCH] Add background color selector to examples/editor. (#103) --- examples/editor/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/editor/index.html b/examples/editor/index.html index f8fb173..ddb9e1e 100644 --- a/examples/editor/index.html +++ b/examples/editor/index.html @@ -485,6 +485,8 @@ spark.focalDistance = Math.exp(value); }); gui.add(spark, "apertureAngle", 0, 0.01 * Math.PI, 0.001).name("Aperture angle").listen(); + scene.background = new THREE.Color(0, 0, 0); + gui.addColor(scene, "background").name("Background color").listen(); const debugFolder = gui.addFolder("Debug").close(); const normalColor = dyno.dynoBool(false);