kfeditor better light

This commit is contained in:
STEINNI
2025-10-29 18:47:48 +00:00
parent dfab013abe
commit af23d09aa2
4 changed files with 53 additions and 9 deletions
+2 -3
View File
@@ -206,11 +206,10 @@ export class Threetobus{
this.cameras.cam2Dtop.layers.enable(1)
// Lights
const light = new THREE.DirectionalLight(0xffffff, 1)
const light = new THREE.DirectionalLight(0xffffff, 2)
light.position.set(5, 5, 5)
light.intensity = 2
this.scene.add(light)
this.scene.add(new THREE.AmbientLight(0xffffff, 0.4))
this.scene.add(new THREE.AmbientLight(0xffffff, 1))
}