From 54c8176302a32c8203975dbaa6c9c990f7cbef68 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Thu, 26 Dec 2024 21:39:29 +0000 Subject: [PATCH] Set SpotlightInnerAngle to -1 on non-spotlights It's a bit odd but it matches what DromEd does --- KeepersCompound.Lightmapper/LightMapper.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/KeepersCompound.Lightmapper/LightMapper.cs b/KeepersCompound.Lightmapper/LightMapper.cs index 7ac43ff..be87c26 100644 --- a/KeepersCompound.Lightmapper/LightMapper.cs +++ b/KeepersCompound.Lightmapper/LightMapper.cs @@ -220,6 +220,7 @@ public class LightMapper Radius = float.MaxValue, R2 = float.MaxValue, LightTableIndex = lightTable.LightCount, + SpotlightInnerAngle = -1f, }; _lights.Add(light); @@ -288,7 +289,8 @@ public class LightMapper QuadLit = propAnimLight.QuadLit, ObjId = id, LightTableIndex = propAnimLight.LightTableLightIndex, - Anim = true + Anim = true, + SpotlightInnerAngle = -1f, }; if (propSpotlight != null) @@ -318,6 +320,7 @@ public class LightMapper QuadLit = propLight.QuadLit, ObjId = id, LightTableIndex = lightTable.LightCount, + SpotlightInnerAngle = -1f, }; if (propSpotAmb != null)