Integrate & Improve FlexiCubes

Also updated the default .mtl file settings
This commit is contained in:
MrForExample
2024-04-12 16:49:42 +02:00
parent 086567f3e9
commit 85a083d87c
665 changed files with 1209 additions and 408 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ const scene = new THREE.Scene();
scene.background = new THREE.Color( 0x000000 );
scene.environment = pmremGenerator.fromScene( new RoomEnvironment( renderer ), 0.04 ).texture;
const ambientLight = new THREE.AmbientLight( 0xffffff );
const ambientLight = new THREE.AmbientLight( 0xffffff , 3.0 );
const camera = new THREE.PerspectiveCamera( 40, window.innerWidth / window.innerHeight, 1, 100 );
camera.position.set( 5, 2, 8 );