Skip to content

Commit

Permalink
Update distancecast material
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Sep 14, 2023
1 parent 93002f2 commit bf7f7ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion example/distancecast.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ function init() {
stats = new Stats();
document.body.appendChild( stats.dom );

const shapeMaterial = new THREE.MeshStandardMaterial( { roughness: 0.75, metalness: 0.1 } );
const shapeMaterial = new THREE.MeshStandardMaterial( {
roughness: 0.75,
metalness: 0.1,
} );
targetContainer = new THREE.Group();
scene.add( targetContainer );

Expand Down Expand Up @@ -142,6 +145,7 @@ function init() {
depthWrite: false,
opacity: 0.15,
premultipliedAlpha: true,
side: THREE.DoubleSide,
} );
marchingCubes = new MarchingCubes( 100, cubeMat, false, false, 1000000 );
marchingCubes.isolation = 0;
Expand Down

0 comments on commit bf7f7ab

Please sign in to comment.