Set SpotAmb spotlight brightness
This commit is contained in:
parent
b8a5169b78
commit
2cc5ab44b7
|
@ -317,6 +317,7 @@ public class LightMapper
|
||||||
{
|
{
|
||||||
Position = light.Position,
|
Position = light.Position,
|
||||||
Color = Utils.HsbToRgb(propLightColor.Hue, propLightColor.Saturation, propSpotAmb.SpotBrightness),
|
Color = Utils.HsbToRgb(propLightColor.Hue, propLightColor.Saturation, propSpotAmb.SpotBrightness),
|
||||||
|
Brightness = propSpotAmb.SpotBrightness,
|
||||||
InnerRadius = light.InnerRadius,
|
InnerRadius = light.InnerRadius,
|
||||||
Radius = light.Radius,
|
Radius = light.Radius,
|
||||||
R2 = light.R2,
|
R2 = light.R2,
|
||||||
|
|
Loading…
Reference in New Issue