@@ -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' );