From a1e744e07ddbfebbdd36b381f3c53012297d046c Mon Sep 17 00:00:00 2001 From: swallaws <362207982@qq.com> Date: Wed, 18 Oct 2023 08:22:11 +0000 Subject: [PATCH] =?UTF-8?q?update=20three/composer/bloom/index.html.=20?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E8=BF=90=E8=A1=8C=E5=90=8E=E5=8F=91=E7=8E=B0?= =?UTF-8?q?=E8=BF=99=E4=BF=A9=E4=B8=AA=E5=8D=95=E8=AF=8D=E6=9C=89=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E4=BD=86=E7=A8=8B=E5=BA=8F=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=EF=BC=8C=E4=B8=8D=E6=B8=85=E6=A5=9A=E6=98=AF?= =?UTF-8?q?=E4=B8=8D=E6=98=AFThreejs=E7=89=88=E6=9C=AC=E8=BF=AD=E4=BB=A3?= =?UTF-8?q?=E7=9A=84=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: swallaws <362207982@qq.com> --- three/composer/bloom/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/three/composer/bloom/index.html b/three/composer/bloom/index.html index 57ff259..808dfde 100644 --- a/three/composer/bloom/index.html +++ b/three/composer/bloom/index.html @@ -49,7 +49,7 @@ scene.add(ambient); // 添加辅助线 - const axisHelper = new THREE.AxisHelper(500); + const axisHelper = new THREE.AxesHelper(500); scene.add(axisHelper); // 创建控制器 @@ -59,7 +59,7 @@ // 创建两个立方体 for (let i = 0; i < 2; i++) { let g = i == 0 ? new THREE.BoxGeometry(50, 50, 50, 100) : new THREE.TorusGeometry(80, 3, 16, 100); - let m = new THREE.MeshStandardMaterial({ color: i == 0 ? "#ffff00" : "#ff00ff", side: THREE.DoubuleSide }); + let m = new THREE.MeshStandardMaterial({ color: i == 0 ? "#ffff00" : "#ff00ff", side: THREE.DoubleSide }); let box = new THREE.Mesh(g, m); box.position.set(...(i == 0 ? [0, 0, 0] : [0, 0, -60])); i == 1 && box.layers.enable(31); -- Gitee