Skip to content

Commit

Permalink
Fixed intensity & decay (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjxn-py authored Oct 21, 2024
1 parent b2187bc commit 0a9f48c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/base/src/3dview/mainview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ export class MainView extends React.Component<IProps, IStates> {

this._scene.add(new THREE.AmbientLight(0xffffff, 0.5)); // soft white light

this._cameraLight = new THREE.PointLight(0xffffff, 100);
this._cameraLight.decay = 5;
this._cameraLight = new THREE.PointLight(0xffffff, 1);
this._cameraLight.decay = 0;

this._camera.add(this._cameraLight);

Expand Down

0 comments on commit 0a9f48c

Please sign in to comment.