forked from VoxeLibre/VoxeLibre
Compare commits
2 Commits
master
...
add_shader
Author | SHA1 | Date |
---|---|---|
Wbjitscool | fb0780c172 | |
Wbjitscool | dc6bdec93e |
|
@ -388,7 +388,18 @@ end)
|
||||||
local function initsky(player)
|
local function initsky(player)
|
||||||
|
|
||||||
if player.set_lighting then
|
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
|
end
|
||||||
|
|
||||||
if (mcl_weather.skycolor.active) then
|
if (mcl_weather.skycolor.active) then
|
||||||
|
|
Loading…
Reference in New Issue