From 2d3cdaa3377cdbe7e97abae2e82c005dd7363a8a Mon Sep 17 00:00:00 2001 From: Aaron Carter Date: Mon, 10 Mar 2025 14:15:32 -0500 Subject: [PATCH] Implemented lighting settings (MainLightingSettings) and adjusted lighting. --- Assets/Scenes/BossRoom.unity | 14 +++++++------- Assets/Scripts/Gameplay/PlatformManager.cs | 3 ++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Assets/Scenes/BossRoom.unity b/Assets/Scenes/BossRoom.unity index 4c8b2f05..ab4c0415 100644 --- a/Assets/Scenes/BossRoom.unity +++ b/Assets/Scenes/BossRoom.unity @@ -15,16 +15,16 @@ RenderSettings: m_ObjectHideFlags: 0 serializedVersion: 10 m_Fog: 1 - m_FogColor: {r: 0.6434321, g: 0.6981132, b: 0.20416509, a: 1} + m_FogColor: {r: 0.49685526, g: 0.22860037, b: 0.17343055, a: 1} m_FogMode: 1 m_FogDensity: 0.001 - m_LinearFogStart: 0 - m_LinearFogEnd: 1000 + m_LinearFogStart: 14.7 + m_LinearFogEnd: 64 m_AmbientSkyColor: {r: 0.35686275, g: 0.7529412, b: 1, a: 1} m_AmbientEquatorColor: {r: 0, g: 0.101960786, b: 0.4509804, a: 1} m_AmbientGroundColor: {r: 0.7132075, g: 0.07401199, b: 0.020184996, a: 1} - m_AmbientIntensity: 1 - m_AmbientMode: 1 + m_AmbientIntensity: 0.925 + m_AmbientMode: 0 m_SubtractiveShadowColor: {r: 0.41960785, g: 0.47843137, b: 0.627451, a: 1} m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} m_HaloStrength: 0.5 @@ -34,7 +34,7 @@ RenderSettings: m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} m_DefaultReflectionMode: 0 m_DefaultReflectionResolution: 128 - m_ReflectionBounces: 1 + m_ReflectionBounces: 2 m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} @@ -94,7 +94,7 @@ LightmapSettings: m_TrainingDataDestination: TrainingData m_LightProbeSampleCountMultiplier: 4 m_LightingDataAsset: {fileID: 0} - m_LightingSettings: {fileID: 0} + m_LightingSettings: {fileID: 4890085278179872738, guid: 215b7ad6b85c76d4285a7a2db6793f5f, type: 2} --- !u!196 &4 NavMeshSettings: serializedVersion: 2 diff --git a/Assets/Scripts/Gameplay/PlatformManager.cs b/Assets/Scripts/Gameplay/PlatformManager.cs index 711ec3b0..74db8519 100644 --- a/Assets/Scripts/Gameplay/PlatformManager.cs +++ b/Assets/Scripts/Gameplay/PlatformManager.cs @@ -76,7 +76,8 @@ namespace Unity.Multiplayer.Samples.BossRoom // Ensure positions are not empty before sending RPC if (platformIDs.Length != arrangedPositions.Count || arrangedPositions.Count == 0) { - Debug.LogError($"[PlatformSelection] ERROR: Mismatch! platformIDs: {platformIDs.Length}, positions: {arrangedPositions.Count}"); + Debug.LogError($"[PlatformSelection] ERROR: Mismatch! platformIDs: " + + $"{platformIDs.Length}, positions: {arrangedPositions.Count}"); return; // Prevent sending incorrect RPC }