]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mapgen_v7.cpp
Added configurable ambient_occlusion_gamma. Default is 2.2 (same as previous hardcode...
[dragonfireclient.git] / src / mapgen_v7.cpp
index 3b7c20b96dfa89515eb0a029659b018b259d0567..a7a56f378b653e4ea2d9ffe075ff3ad11650aff6 100644 (file)
@@ -260,8 +260,7 @@ void MapgenV7::makeChunk(BlockMakeData *data)
        updateLiquid(&data->transforming_liquid, full_node_min, full_node_max);
 
        if (flags & MG_LIGHT)
-               calcLighting(node_min - v3s16(1, 0, 1) * MAP_BLOCKSIZE,
-                                        node_max + v3s16(1, 0, 1) * MAP_BLOCKSIZE);
+               calcLighting(node_min, node_max);
        //setLighting(node_min - v3s16(1, 0, 1) * MAP_BLOCKSIZE,
        //                      node_max + v3s16(1, 0, 1) * MAP_BLOCKSIZE, 0xFF);