Fix incorrect hue on object lights
This commit is contained in:
parent
7c786a5f4c
commit
6c143058e9
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue