From 6c143058e954785182511f50c6e45296fd1fa075 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sun, 22 Sep 2024 13:36:06 +0100 Subject: [PATCH] Fix incorrect hue on object lights --- KeepersCompound.Lightmapper/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KeepersCompound.Lightmapper/Program.cs b/KeepersCompound.Lightmapper/Program.cs index d885e7f..0355ade 100644 --- a/KeepersCompound.Lightmapper/Program.cs +++ b/KeepersCompound.Lightmapper/Program.cs @@ -50,7 +50,7 @@ class Program lights.Add(new Light { position = brush.position, - color = HsbToRgb(lightColor.Hue, lightColor.Saturation, light.Brightness), + color = HsbToRgb(lightColor.Hue * 360, lightColor.Saturation, light.Brightness), radius = light.Brightness, }); }