Weird lighting bug

Jonjeg
New member
 
Posts: 4
Joined: Sun Sep 30, 2012 10:38

Weird lighting bug

by Jonjeg » Sun Sep 30, 2012 10:51

Hi, today, while working on a mod, i saw this strange bug occuring at night
Edit: i was indeed unclear. The bug is the fact that without any light source near theses nodes, when i put one of them againt a wall or a corner, the lighting go up. Same when i pile them.
Here my code
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_node("test_mod:pos_debug", {
    description = "Air Info Pos",
    drawtype = "glasslike",
    tiles = {"default_sign_wall.png"},
    walkable = false,
    is_ground_content = false,
    light_propagates = true,
    sunlight_propagates = true,
    selection_box = {
        type = "fixed",
        fixed = {0, 0, 0, 0, 0, 0},
    },
    on_construct = function(pos)
        local meta = minetest.env:get_meta(pos)
        meta:set_string("infotext", "X:"..round(pos.x).."Y:"..round(pos.y).."Z:"..round(pos.z))
    end,
    groups = {not_in_creative_inventory=2,dig_immediate=2},
})

When i put 4 nodes in a square, i get this during night time :
Image
I know that dont come from any mods currently installed.
Last edited by Jonjeg on Sun Sep 30, 2012 11:13, edited 1 time in total.
 

User avatar
Echo
Member
 
Posts: 121
Joined: Tue Jul 31, 2012 08:11

by Echo » Sun Sep 30, 2012 11:03

and the strange thing is?
the light? (is there a torch?) or haven't you used the latest version of walking light mod and "lost" some light (didn't enforce update the illumination)?
or the four dark squares because of the used tile "default_sign_wall.png"?
 

irksomeduck
Member
 
Posts: 224
Joined: Tue Aug 28, 2012 21:45

by irksomeduck » Sun Sep 30, 2012 14:39

Yeah, I have this problem too, but I only know of a mod that causes it. In the snow biome mod, ice and snow blocks can be a bit buggy and go black/invisible.
I love exploring minetest worlds :D
If you have a good seed let me know
--------------------------------------------------
My world/house pack- http://minetest.net/forum/viewtopic.php?id=3066
 

CTMN
Member
 
Posts: 113
Joined: Sat Aug 25, 2012 15:02

by CTMN » Wed Oct 03, 2012 16:27

Try to place and remove a torch.

When I look at the picture, I see something on the black things. Can u make the picture brighter and look at it? It seems to be like an image or something.
Last edited by CTMN on Wed Oct 03, 2012 16:27, edited 1 time in total.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 3 guests

cron