adminCommands: minor fixes & test shaders

This commit is contained in:
Van
2026-02-27 20:22:19 +03:00
parent 4c90041c68
commit b12f890740

View File

@@ -13,7 +13,7 @@ local function getForm()
local listFormItems = Formspec:new()
local items = table.get_keys(core.registered_nodes)
local items = table.get_keys(core.registered_items)
table.sort(items)
local w, h = 0, 0
@@ -79,9 +79,22 @@ end)
core.register_on_joinplayer(function(player, last_login)
player:set_sky({
sky_color = {
day_sky = '#F1DAC0',
day_horizon = '#F1B795',
day_sky = '#FAE6E0',
day_horizon = '#E7A985',
},
type = "regular",
})
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.0,
})
end)