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)