mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-27 18:08:09 +08:00
66 lines
2.9 KiB
C#
66 lines
2.9 KiB
C#
// ---------------------------------------------------------------------------------------------
|
|
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
|
|
// See LICENSE file in the project root for license information.
|
|
// ---------------------------------------------------------------------------------------------
|
|
|
|
namespace Pal3.Game.Constants
|
|
{
|
|
using System.Collections.Generic;
|
|
|
|
using Color = Core.Primitives.Color;
|
|
using Quaternion = UnityEngine.Quaternion;
|
|
|
|
public static class LightingConstants
|
|
{
|
|
/// <summary>
|
|
/// This is the lighting color override for the target scene city.
|
|
/// </summary>
|
|
#if PAL3
|
|
public static readonly Dictionary<string, Color> MainLightColorInfoGlobal = new()
|
|
{
|
|
{ "q13", new Color(40f / 255f, 80f / 255f, 200f / 255f) }, // 酆都
|
|
{ "q14", new Color(100f / 255f, 100f / 255f, 200f / 255f) }, // 鬼界外围
|
|
{ "m24", new Color(30f / 255f, 80f / 255f, 200f / 255f) }, // 剑冢
|
|
};
|
|
#elif PAL3A
|
|
public static readonly Dictionary<string, Color> MainLightColorInfoGlobal = new()
|
|
{
|
|
{ "m02", new Color(10f / 255f, 30f / 255f, 60f / 255f) }, // 地脉门户
|
|
{ "m15", new Color(80f / 255f, 130f / 255f, 200f / 255f) }, // 月光城
|
|
};
|
|
#endif
|
|
|
|
/// <summary>
|
|
/// This is the lighting color override for the target scene.
|
|
/// </summary>
|
|
#if PAL3
|
|
public static readonly Dictionary<(string cityName, string sceneName), Color> MainLightColorInfo = new()
|
|
{
|
|
{ ("q02", "n14"), new Color(75f / 255f, 75f / 255f, 75f / 255f) }, // 地牢1
|
|
{ ("q02", "n16"), new Color(30f / 255f, 30f / 255f, 30f / 255f) }, // 地牢2
|
|
{ ("q07", "q07a"), new Color(120f / 255f, 50f / 255f, 30f / 255f) }, // 安宁村黄昏
|
|
{ ("m06", "4"), new Color(0f / 255f, 0f / 255f, 80f / 255f) }, // 蓬莱密道
|
|
};
|
|
#elif PAL3A
|
|
public static readonly Dictionary<(string cityName, string sceneName), Color> MainLightColorInfo = new()
|
|
{
|
|
};
|
|
#endif
|
|
|
|
/// <summary>
|
|
/// This is the lighting color override for the target scene.
|
|
/// </summary>
|
|
#if PAL3
|
|
public static readonly Dictionary<(string cityName, string sceneName), Quaternion> MainLightRotationInfo = new()
|
|
{
|
|
{ ("q01", "yn01a"), Quaternion.Euler(130f, 40f, 0f) }, // 重楼当剑
|
|
{ ("q07", "q07a"), Quaternion.Euler(145f, 50f, 0f) }, // 安宁村黄昏
|
|
{ ("m06", "1"), Quaternion.Euler(30f, -50f, 0f) }, // 蓬莱码头
|
|
};
|
|
#elif PAL3A
|
|
public static readonly Dictionary<(string cityName, string sceneName), Quaternion> MainLightRotationInfo = new()
|
|
{
|
|
};
|
|
#endif
|
|
}
|
|
} |