Compare commits

...

2 Commits

Author SHA1 Message Date
Wbjitscool 8b99efc559 fixed accidental space 2024-06-11 19:34:09 +02:00
Wbjitscool f66ba40090 Update mods/ENVIRONMENT/mcl_weather/skycolor.lua
adds in sunray shader support for Minetest version 5.9.0
2024-06-11 19:34:09 +02:00
1 changed files with 12 additions and 1 deletions

View File

@ -394,7 +394,18 @@ end)
local function initsky(player)
if player.set_lighting then
player:set_lighting({ shadows = { intensity = tonumber(minetest.settings:get("mcl_default_shadow_intensity") or 0.33) } })
player:set_lighting({
shadows = { intensity = 0.33 },
volumetric_light = { strength = 0.45 },
exposure = {
luminance_min = -3.5,
luminance_max = -2.5,
exposure_correction = 0.35,
speed_dark_bright = 1500,
speed_bright_dark = 700,
},
saturation = 1.1,
})
end
if (mcl_weather.skycolor.active) then