kfeditor better light
This commit is contained in:
+2
-3
@@ -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))
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user