Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NoTUsR authored Jun 21, 2024
1 parent c27c359 commit 23ab410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ container.appendChild( renderer.domElement );
const directionalLight = new THREE.DirectionalLight( 0xffffff, 1 );
directionalLight.position.set( 0, 1, 3 );
directionalLight.castShadow = true
scene.add( light );
scene.add( directionalLight );

//const light1 = new THREE.AmbientLight(0xFFFFFF, 1);
//scene.add(light1)
Expand Down

0 comments on commit 23ab410

Please sign in to comment.