Skip to content

Commit 0a9f48c

Browse files
authored
Fixed intensity & decay (#515)
1 parent b2187bc commit 0a9f48c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/base/src/3dview/mainview.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ export class MainView extends React.Component<IProps, IStates> {
227227

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

230-
this._cameraLight = new THREE.PointLight(0xffffff, 100);
231-
this._cameraLight.decay = 5;
230+
this._cameraLight = new THREE.PointLight(0xffffff, 1);
231+
this._cameraLight.decay = 0;
232232

233233
this._camera.add(this._cameraLight);
234234

0 commit comments

Comments
 (0)