From caacee7c01cc11ee8c02cb372bfbb9219057bbad Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Sun, 22 May 2022 21:28:50 +0300 Subject: [PATCH] tweak lighting entities and scene lighting --- Content/Scenes/MainScene.scene | 6 ++---- Source/Game/Level/Q3MapImporter.cs | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Content/Scenes/MainScene.scene b/Content/Scenes/MainScene.scene index 3d48e88..f5c45b4 100644 --- a/Content/Scenes/MainScene.scene +++ b/Content/Scenes/MainScene.scene @@ -52,9 +52,7 @@ "Z": 0.0 } }, - "Data": { - "Text": "0fps" -} + "Data": {} }, { "ID": "35b34b0c4476f0ed43aa8fb4d5f2eebc", @@ -242,7 +240,7 @@ } }, "Layer": 1, - "Brightness": 0.7999999523162842, + "Brightness": 0.6000000238418579, "AdditiveColor": { "R": 1.0, "G": 1.0, diff --git a/Source/Game/Level/Q3MapImporter.cs b/Source/Game/Level/Q3MapImporter.cs index cd6297f..b826a7a 100644 --- a/Source/Game/Level/Q3MapImporter.cs +++ b/Source/Game/Level/Q3MapImporter.cs @@ -750,6 +750,8 @@ namespace Game if (lightsUseInverseSquaredFalloff) { + light.ShadowsDistance = 500f; + light.ShadowsDepthBias = 0.027f;//0.005f; if (true) { light.Radius *= 0.5f;