Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jcponce committed Jul 15, 2024
1 parent 317bb49 commit aeb3cf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions threejs/particle-life-3d/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function init() {
//controls.maxDistance = 3000;


let directionalLight = new THREE.DirectionalLight(0xffffff, 4);
let directionalLight = new THREE.DirectionalLight(0xffffff, 2);
directionalLight.position.set(1, 1, 1).normalize();
scene.add(directionalLight);

Expand Down Expand Up @@ -152,7 +152,7 @@ function init() {
opacity: 0.2,
radius: 500,
size: 1000,
z: -400,
z: -350,
});
scene.add(gradientBackground);

Expand Down

0 comments on commit aeb3cf1

Please sign in to comment.