From 5e746c7922b8552564d859ea4bfdb3763ae006cd Mon Sep 17 00:00:00 2001 From: Jackie Liu Date: Mon, 31 Oct 2022 21:06:31 -0700 Subject: [PATCH] v0.30 --- .../Pal3/Effect/PostProcessing/PostProcessManager.cs | 6 +++++- Assets/Scripts/Pal3/MetaData/LightingConstants.cs | 1 + ProjectSettings/ProjectSettings.asset | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Pal3/Effect/PostProcessing/PostProcessManager.cs b/Assets/Scripts/Pal3/Effect/PostProcessing/PostProcessManager.cs index 625b3c08..f45c3762 100644 --- a/Assets/Scripts/Pal3/Effect/PostProcessing/PostProcessManager.cs +++ b/Assets/Scripts/Pal3/Effect/PostProcessing/PostProcessManager.cs @@ -35,13 +35,17 @@ namespace Pal3.Effect.PostProcessing _postProcessLayer = postProcessLayer != null ? postProcessLayer : throw new ArgumentNullException(nameof(postProcessLayer)); _bloom = _postProcessVolume.profile.GetSetting(); + #if RTX_ON + _bloom.active = false; // Pointless when lighting is on + #else _bloom.active = Utility.IsDesktopDevice(); // Enable bloom for better VFX visual fidelity on desktop devices + #endif _ambientOcclusion = _postProcessVolume.profile.GetSetting(); #if RTX_ON _ambientOcclusion.active = Utility.IsDesktopDevice(); // Enable AmbientOcclusion for better visual fidelity on desktop devices #else - _ambientOcclusion.active = false; + _ambientOcclusion.active = false; // Pointless when lighting is off #endif _colorGrading = _postProcessVolume.profile.GetSetting(); diff --git a/Assets/Scripts/Pal3/MetaData/LightingConstants.cs b/Assets/Scripts/Pal3/MetaData/LightingConstants.cs index bde4f730..aa69cd21 100644 --- a/Assets/Scripts/Pal3/MetaData/LightingConstants.cs +++ b/Assets/Scripts/Pal3/MetaData/LightingConstants.cs @@ -36,6 +36,7 @@ namespace Pal3.MetaData { "q02_n14_0", new Color(75f / 255f, 75f / 255f, 75f / 255f) }, // 地牢1 { "q02_n16_0", new Color(30f / 255f, 30f / 255f, 30f / 255f) }, // 地牢2 { "q07_q07a_1", new Color(120f / 255f, 50f / 255f, 30f / 255f) }, // 安宁村黄昏 + { "m06_4_-1", new Color(0f / 255f, 0f / 255f, 80f / 255f) }, // 蓬莱密道 }; #elif PAL3A public static readonly Dictionary MainLightColorInfo = new() diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 9cd8be96..1c53dbbf 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -134,7 +134,7 @@ PlayerSettings: 16:10: 1 16:9: 1 Others: 1 - bundleVersion: 0.29 + bundleVersion: 0.30 preloadedAssets: [] metroInputSource: 0 wsaTransparentSwapchain: 0