|
@@ -17,19 +17,17 @@ class WorkFace {
|
|
|
}
|
|
|
|
|
|
addLight() {
|
|
|
- const directionalLight = new THREE.DirectionalLight(0xffffff, 1.2);
|
|
|
+ const directionalLight = new THREE.DirectionalLight(0xffffff, 1.3);
|
|
|
directionalLight.position.set(6.3, 28, 20);
|
|
|
- this.group?.add(directionalLight);
|
|
|
+ // this.group?.add(directionalLight);
|
|
|
directionalLight.target = this.group as THREE.Object3D;
|
|
|
-
|
|
|
- const pointLight = new THREE.PointLight(0xffffff, 1, 1000);
|
|
|
- pointLight.position.set(45, 51, -4.1);
|
|
|
- pointLight.shadow.bias = 0.05;
|
|
|
- this.model.scene.add(pointLight);
|
|
|
-
|
|
|
- // gui.add(directionalLight.position, 'x', -100, 100);
|
|
|
- // gui.add(directionalLight.position, 'y', -100, 100);
|
|
|
- // gui.add(directionalLight.position, 'z', -100, 100);
|
|
|
+ // const pointLight = new THREE.PointLight(0xffffff, 1, 1000);
|
|
|
+ // pointLight.position.set(45, 51, -4.1);
|
|
|
+ // pointLight.shadow.bias = 0.05;
|
|
|
+ // // this.model.scene.add(pointLight);
|
|
|
+ // // gui.add(directionalLight.position, 'x', -100, 100);
|
|
|
+ // // gui.add(directionalLight.position, 'y', -100, 100);
|
|
|
+ // // gui.add(directionalLight.position, 'z', -100, 100);
|
|
|
}
|
|
|
|
|
|
addChamberText(selectData) {
|