From ed5b06b9e820317a8f72547ed8ebe84519376d96 Mon Sep 17 00:00:00 2001 From: bottlefish <781230111@qq.com> Date: Sat, 11 Apr 2026 14:44:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(fix-system):=20=E8=B0=83=E6=95=B4=E7=83=AD?= =?UTF-8?q?=E5=8A=9B=E5=9B=BE=E6=B8=A9=E5=BA=A6=E6=8F=92=E5=80=BC=E4=B8=8E?= =?UTF-8?q?=E5=8C=BA=E9=97=B4=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/FixSystem/HeatMap/HeatMapController.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Assets/Scripts/FixSystem/HeatMap/HeatMapController.cs b/Assets/Scripts/FixSystem/HeatMap/HeatMapController.cs index f3bdc1c17..11d948692 100644 --- a/Assets/Scripts/FixSystem/HeatMap/HeatMapController.cs +++ b/Assets/Scripts/FixSystem/HeatMap/HeatMapController.cs @@ -178,14 +178,10 @@ public class HeatMapController : MonoBehaviour public void SetDataToMaterial() { - if (tempture == 0) + if (tempture >= 0 && tempture <= 1) { - uftempture = 0.5f; - } - else if (tempture >= 0 && tempture <= 1) - { - uftempture = Mathf.Lerp(2.5f, 3.3f, tempture); // 线性插值 - modulesTempture = Mathf.Lerp(1.5f, 1.8f, tempture); + uftempture = Mathf.Lerp(2.0f, 2.8f, tempture); // 线性插值 + modulesTempture = Mathf.Lerp(1.2f, 1.6f, tempture); backtemture = Mathf.Lerp(1.5f, 2.25f, tempture); } else if (tempture >= 1 && tempture <= 2)