Fix incorrect hue on object lights

This commit is contained in:
Jarrod Doyle 2024-09-22 13:36:06 +01:00
parent 7c786a5f4c
commit 6c143058e9
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 1 deletions

View File

@ -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,
});
}