提交 547c9165 编写于 作者: W WestLangley

Set .metalness to zero to model glass

上级 5961c0b0
......@@ -192,21 +192,21 @@
} ),
new THREE.MeshStandardMaterial( {
color: 0xffffff, metalness: 1.0, roughness: 0.2, name: 'metallic'
} ),
} )
],
glass: [
new THREE.MeshPhysicalMaterial( {
color: 0xffffff, metalness: 1, roughness: 0, transparency: 1.0, transparent: true, name: 'clear'
color: 0xffffff, metalness: 0, roughness: 0, transparency: 1.0, transparent: true, name: 'clear'
} ),
new THREE.MeshPhysicalMaterial( {
color: 0x000000, metalness: 1, roughness: 0, transparency: 0.7, transparent: true, name: 'smoked'
color: 0x000000, metalness: 0, roughness: 0, transparency: 0.7, transparent: true, name: 'smoked'
} ),
new THREE.MeshPhysicalMaterial( {
color: 0x001133, metalness: 1, roughness: 0, transparency: 0.7, transparent: true, name: 'blue'
} ),
color: 0x001133, metalness: 0, roughness: 0, transparency: 0.7, transparent: true, name: 'blue'
} )
],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册