Skip to content

Commit 8ac202c

Browse files
committed
Adjust preview light intensity
Avoid the preview lighting causing a blow-out. Now the maximum direct + ambient intensity = 1.0
1 parent b47cc42 commit 8ac202c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/_base/Preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ var PreviewView = RenderableView.extend({
246246
this.scene.background = BLACK;
247247

248248
// Lights
249-
this.pointLight = new THREE.PointLight('#ffffff', 1, 0, 0);
249+
this.pointLight = new THREE.PointLight('#ffffff', 0.5, 0, 0);
250250
this.ambLight = new THREE.AmbientLight('#ffffff', 0.5);
251251
this.camera.add(this.ambLight);
252252
this.camera.add(this.pointLight);

0 commit comments

Comments
 (0)