Page 1 of 1
[solved] lighting problem

Posted:
Thu Jan 08, 2015 16:08
by anton-tsyganenko
It looks strange, like something big is above, it happened after upgrading to 0.4.11, but not immediately. Restarting the game doesn't work. I use the vanilla minetest_game.
Re: lighting problem

Posted:
Thu Jan 08, 2015 16:21
by lightonflux
Was there a cloud? Or did you build some structure over it and it doesn't update the lighting?
Re: lighting problem

Posted:
Thu Jan 08, 2015 17:00
by Krock
Hi,
There's
a mod which removes those bugged parts..or you can use WorldEdit to fix this:
1) Fly on top of the shadows (until the wielditem is bright again)
2) //pos1
3) //pos2
4) Update nodes: //set air
5) Reset WE region: //reset
Re: lighting problem

Posted:
Thu Jan 08, 2015 17:17
by anton-tsyganenko
It's been for a long time, so it's not because of a cloud. I haven't built anything above there. I tried to use //fixlight in worldedit, but it didn't help.
Re: lighting problem

Posted:
Thu Jan 08, 2015 17:36
by anton-tsyganenko
Mapfix helped, thank you very much!
Re: [solved] lighting problem

Posted:
Sat Jan 17, 2015 21:31
by Gael de Sailly
I didn't expect such a success… :-)
I've spend numerous hours programming stuff that ended in the trash, stuffed with mistakes or badly organized, etc.
But this mod, at first, was just a test. I've made it in 10 minutes, it was just to understand the behaviour of the functions vm:calc_lighting() and vm:update_liquids(). And I noticed that it make flow and light problems to disappear.
The code is extremely short. It only executes these functions, to fix it. It's very surprising that I'm the first to think about it.
Re: [solved] lighting problem

Posted:
Sun Jan 18, 2015 02:18
by Napiophelios
Gael de Sailly wrote:I didn't expect such a success… :-)
Dude you're helping people all over the
place:)
Re: [solved] lighting problem

Posted:
Sun Jan 18, 2015 03:41
by ExeterDad
Way to go Gael de Sailly!