mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
Add background color selector to examples/editor. (#103)
This commit is contained in:
committed by
GitHub
parent
924f0842a0
commit
fea2e17cd0
@@ -485,6 +485,8 @@
|
|||||||
spark.focalDistance = Math.exp(value);
|
spark.focalDistance = Math.exp(value);
|
||||||
});
|
});
|
||||||
gui.add(spark, "apertureAngle", 0, 0.01 * Math.PI, 0.001).name("Aperture angle").listen();
|
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 debugFolder = gui.addFolder("Debug").close();
|
||||||
const normalColor = dyno.dynoBool(false);
|
const normalColor = dyno.dynoBool(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user