Add background color selector to examples/editor. (#103)

This commit is contained in:
Andreas Sundquist
2025-07-08 09:24:50 -07:00
committed by GitHub
parent 924f0842a0
commit fea2e17cd0
+2
View File
@@ -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);