未验证 提交 1ee93091 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #17380 from yomboprime/crystal_plasma

LightningStrike: Make plasma sphere use physical transparency
...@@ -422,12 +422,11 @@ ...@@ -422,12 +422,11 @@
var sphereMaterial = new THREE.MeshPhysicalMaterial( { var sphereMaterial = new THREE.MeshPhysicalMaterial( {
transparent: true, transparent: true,
transparency: .96,
depthWrite: false, depthWrite: false,
opacity: 0.15, color: 'white',
color: 0, metalness: 0,
metalness: 1,
roughness: 0, roughness: 0,
reflectivity: 0,
envMap: textureCube envMap: textureCube
} ); } );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册