adminCommands: minor fixes & test shaders
This commit is contained in:
@@ -13,7 +13,7 @@ local function getForm()
|
|||||||
|
|
||||||
local listFormItems = Formspec:new()
|
local listFormItems = Formspec:new()
|
||||||
|
|
||||||
local items = table.get_keys(core.registered_nodes)
|
local items = table.get_keys(core.registered_items)
|
||||||
table.sort(items)
|
table.sort(items)
|
||||||
local w, h = 0, 0
|
local w, h = 0, 0
|
||||||
|
|
||||||
@@ -79,9 +79,22 @@ end)
|
|||||||
core.register_on_joinplayer(function(player, last_login)
|
core.register_on_joinplayer(function(player, last_login)
|
||||||
player:set_sky({
|
player:set_sky({
|
||||||
sky_color = {
|
sky_color = {
|
||||||
day_sky = '#F1DAC0',
|
day_sky = '#FAE6E0',
|
||||||
day_horizon = '#F1B795',
|
day_horizon = '#E7A985',
|
||||||
},
|
},
|
||||||
type = "regular",
|
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)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user