From 698fc20e8fa1859e2ded1c055d50747dc85dc12d Mon Sep 17 00:00:00 2001 From: WestLangley Date: Sat, 18 Jul 2020 16:46:47 -0400 Subject: [PATCH] .transparency -> .transmission --- examples/webgl_lightningstrike.html | 2 +- examples/webgl_materials_car.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/webgl_lightningstrike.html b/examples/webgl_lightningstrike.html index e5d629ecf8..b3881b147a 100644 --- a/examples/webgl_lightningstrike.html +++ b/examples/webgl_lightningstrike.html @@ -420,7 +420,7 @@ var sphereMaterial = new THREE.MeshPhysicalMaterial( { transparent: true, - transparency: .96, + transmission: .96, depthWrite: false, color: 'white', metalness: 0, diff --git a/examples/webgl_materials_car.html b/examples/webgl_materials_car.html index 2ca2dcc384..ce18c29bba 100644 --- a/examples/webgl_materials_car.html +++ b/examples/webgl_materials_car.html @@ -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' ); -- GitLab