1
0
Fork 0

Explain weird End lighting

objects
Wuzzy 2017-08-18 14:10:49 +02:00
parent 12df4c98b4
commit cb1dbcb2db
1 changed files with 2 additions and 3 deletions

View File

@ -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