forked from VoxeLibre/VoxeLibre
Send shadows to client if server supports it
This commit is contained in:
parent
442fefebf2
commit
7be8ab2c1c
|
@ -276,6 +276,11 @@ minetest.register_globalstep(function(dtime)
|
|||
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) } })
|
||||
end
|
||||
|
||||
if (mcl_weather.skycolor.active) then
|
||||
mcl_weather.skycolor.force_update = true
|
||||
end
|
||||
|
|
|
@ -115,6 +115,9 @@ animated_chests (Animated chests) bool true
|
|||
# The maximum number of boss bars to simultaniously display on the screen
|
||||
max_bossbars (Maximum Boss bars) int 5
|
||||
|
||||
# Default intensity of shadows (default: 0.33)
|
||||
mcl_default_shadow_intensity (Default shadow intensity) float 0.33 0.0 1.0
|
||||
|
||||
[Experimental]
|
||||
# Whether ice is translucent. If disabled, ice is fully opaque.
|
||||
#
|
||||
|
|
Reference in New Issue