mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 12:25:13 +00:00
Explain weird End lighting
This commit is contained in:
parent
12df4c98b4
commit
cb1dbcb2db
1 changed files with 2 additions and 3 deletions
|
@ -1346,10 +1346,9 @@ minetest.register_on_generated(function(minp, maxp)
|
|||
end
|
||||
end
|
||||
|
||||
-- Set high light level in the End. This is very hacky and messes up the shadows below the End islands.
|
||||
-- FIXME: Find a better way to do light.
|
||||
if minp.y >= mcl_vars.mg_end_min and maxp.y <= mcl_vars.mg_end_max then
|
||||
-- local min, max = table.copy(minp), table.copy(maxp)
|
||||
-- min.y = math.max(minp.y, mcl_vars.mg_end_min)
|
||||
-- max.y = math.min(maxp.y, mcl_vars.mg_end_max)
|
||||
vm:set_lighting({day=14, night=14})
|
||||
lvm_used = true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue