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

Merge pull request #19869 from WestLangley/dev_examples_transparency

Examples: .transparency -> .transmission
......@@ -420,7 +420,7 @@
var sphereMaterial = new THREE.MeshPhysicalMaterial( {
transparent: true,
transparency: .96,
transmission: .96,
depthWrite: false,
color: 'white',
metalness: 0,
......
......@@ -102,7 +102,7 @@
} );
var glassMaterial = new THREE.MeshPhysicalMaterial( {
color: 0xffffff, metalness: 0, roughness: 0.1, transparency: 0.9, transparent: true
color: 0xffffff, metalness: 0, roughness: 0.1, transmission: 0.9, transparent: true
} );
var bodyColorInput = document.getElementById( 'body-color' );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册