forked from mtcontrib/regional_weather
Decrease strength of lighting effects
This commit is contained in:
parent
1a20676883
commit
6c150faaaf
@ -36,8 +36,8 @@ local function generate_effects(params)
|
|||||||
-- zero at dawn / dusk and one at midday
|
-- zero at dawn / dusk and one at midday
|
||||||
local daytime_shadows = 1 - (math.abs(0.5 - daytime) * 2 / daylight_duration)
|
local daytime_shadows = 1 - (math.abs(0.5 - daytime) * 2 / daylight_duration)
|
||||||
|
|
||||||
local shadow_intensity = map_range(cloud_shadows + daytime_shadows, 0.15, 0.5)
|
local shadow_intensity = map_range(cloud_shadows + daytime_shadows, 0.15, 0.4)
|
||||||
local light_saturation = map_range(cloud_shadows + daytime_shadows, 0.8, 1.2)
|
local light_saturation = map_range(cloud_shadows + daytime_shadows, 0.9, 1.1)
|
||||||
|
|
||||||
local skybox = {priority = 10}
|
local skybox = {priority = 10}
|
||||||
skybox.cloud_data = {
|
skybox.cloud_data = {
|
||||||
|
Loading…
Reference in New Issue
Block a user