Browse Source

LightningStrike: Make plasma sphere use physical transparency

yomboprime 5 years ago
parent
commit
96c59d5db2
1 changed files with 3 additions and 4 deletions
  1. 3 4
      examples/webgl_lightningstrike.html

+ 3 - 4
examples/webgl_lightningstrike.html

@@ -422,12 +422,11 @@
 
 				var sphereMaterial = new THREE.MeshPhysicalMaterial( {
 					transparent: true,
+					transparency: .96,
 					depthWrite: false,
-					opacity: 0.15,
-					color: 0,
-					metalness: 1,
+					color: 'white',
+					metalness: 0,
 					roughness: 0,
-					reflectivity: 0,
 					envMap: textureCube
 				} );