forked from minetest-mods/nether
fix lighting bug in mapgen
Removes hard black edges appearing at emerge boundaries.
This commit is contained in:
parent
0e26770830
commit
86105b4eb8
@ -188,7 +188,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||
end
|
||||
|
||||
vm:set_data(data)
|
||||
vm:set_lighting({day = 0, night = 0})
|
||||
vm:set_lighting({day = 0, night = 0}, minp, maxp)
|
||||
vm:calc_lighting()
|
||||
vm:update_liquids()
|
||||
vm:write_to_map()
|
||||
|
Loading…
Reference in New Issue
Block a user