Skip to content

Commit c5e3325

Browse files
authored
Update spotLights.js
1 parent d197b28 commit c5e3325

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

example/spotLights.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ const iesProfileURLs = [
3131
const params = {
3232

3333
floorMaterial: {
34-
color: '#dddddd',
35-
roughness: 0.4,
34+
color: '#333333',
35+
roughness: 0.05,
3636
metalness: 0.4,
3737
},
3838
wallMaterial: {
@@ -77,6 +77,7 @@ async function init() {
7777
const aspect = window.innerWidth / window.innerHeight;
7878
perspectiveCamera = new PhysicalCamera( 75, aspect, 0.025, 500 );
7979
perspectiveCamera.position.set( - 2, 4, 8 ).multiplyScalar( 0.8 );
80+
perspectiveCamera.bokehSize = 0;
8081

8182
// init path traer
8283
ptRenderer = new PathTracingRenderer( renderer );

0 commit comments

Comments
 (0)