Set SpotAmb spotlight brightness

This commit is contained in:
Jarrod Doyle 2024-12-26 14:02:01 +00:00
parent b8a5169b78
commit 2cc5ab44b7
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 0 deletions

View File

@ -317,6 +317,7 @@ public class LightMapper
{
Position = light.Position,
Color = Utils.HsbToRgb(propLightColor.Hue, propLightColor.Saturation, propSpotAmb.SpotBrightness),
Brightness = propSpotAmb.SpotBrightness,
InnerRadius = light.InnerRadius,
Radius = light.Radius,
R2 = light.R2,