From f8443b7f62d2bd9831802d6940db3984d5c44756 Mon Sep 17 00:00:00 2001 From: zh <972939975@qq.com> Date: Sat, 23 Aug 2025 02:36:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B4=B4=E5=9C=B0=E6=96=87?= =?UTF-8?q?=E5=AD=97=E3=80=81=E7=AB=8B=E4=BD=93=E6=96=87=E5=AD=97=E9=A2=9C?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Obj/Base/TextObject/GroundText/index.js | 2 +- src/Obj/Base/TextObject/StandText/index.js | 2 +- src/Obj/Materail/WallMaterialProperty.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Obj/Base/TextObject/GroundText/index.js b/src/Obj/Base/TextObject/GroundText/index.js index 7009cb0..3eafced 100644 --- a/src/Obj/Base/TextObject/GroundText/index.js +++ b/src/Obj/Base/TextObject/GroundText/index.js @@ -649,7 +649,7 @@ class GroundText extends Base { ctx.font = 200 + 'px serif' ctx.fillStyle = 'rgba(255, 255, 255, 0)' ctx.fillRect(0, 0, maxWidth + 30, 210) - ctx.fillStyle = this.options.color + ctx.fillStyle = 'rgba(255, 255, 255, 1)' ctx.font = '200px serif' ctx.fillText(textArray[i], 0, 210 * (i + 1)) } diff --git a/src/Obj/Base/TextObject/StandText/index.js b/src/Obj/Base/TextObject/StandText/index.js index 6e2a173..1cc67bf 100644 --- a/src/Obj/Base/TextObject/StandText/index.js +++ b/src/Obj/Base/TextObject/StandText/index.js @@ -508,7 +508,7 @@ class StandText extends Base { ctx.font = 200 + "px serif"; ctx.fillStyle = 'rgba(255, 255, 255, 0)' ctx.fillRect(0, 0, maxWidth + 30, 210) - ctx.fillStyle = this.options.color; + ctx.fillStyle = 'rgba(255, 255, 255, 1)'; ctx.font = "200px serif"; ctx.fillText(textArray[i], 0, 210 * (i+1)); } diff --git a/src/Obj/Materail/WallMaterialProperty.js b/src/Obj/Materail/WallMaterialProperty.js index bda11b0..fbe9068 100644 --- a/src/Obj/Materail/WallMaterialProperty.js +++ b/src/Obj/Materail/WallMaterialProperty.js @@ -238,8 +238,8 @@ function StreamWall2() { else { material.alpha = 1.0; } - material.diffuse = color.rgb*0.0; - material.emission = color.rgb * 1.0; + material.diffuse = colorImage.rgb * color.rgb*0.0; + material.emission = colorImage.rgb * color.rgb * 1.0; return material; }`, components: {