From d14db305b82722282fd0bc1875c6f21133e730a5 Mon Sep 17 00:00:00 2001 From: lloyd <353627866@qq.com> Date: Tue, 4 Nov 2025 10:20:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=9F=BA=E4=BA=8E3D=E5=BC=95=E6=93=8E?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AE=9E=E7=8E=B03D=E5=9B=BE=E5=BD=A2?= =?UTF-8?q?=E6=B8=B2=E6=9F=93=E5=8A=9F=E8=83=BD=E3=80=91=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/graphics3d/NodeLight.ets | 1 + 1 file changed, 1 insertion(+) diff --git a/entry/src/main/ets/graphics3d/NodeLight.ets b/entry/src/main/ets/graphics3d/NodeLight.ets index d8bc355..d9eaa72 100644 --- a/entry/src/main/ets/graphics3d/NodeLight.ets +++ b/entry/src/main/ets/graphics3d/NodeLight.ets @@ -69,6 +69,7 @@ struct NodeLight { this.cam = await rf.createCamera({ 'name': 'Camera1' }); this.cam.position.z = Constants.CAMERA_POSITION_Z_INDEX; this.cam.enabled = true; + this.cam.clearColor = { r: 1, g: 1, b: 1, a: 1 }; // Camera look at direction. CalcUtils.lookAt(this.cam, { x: 10, y: 5, z: 15 }, { x: 0, y: 0.0, z: 0.0 }, { x: 0, y: 1, z: 0 }); -- Gitee