From: Perttu Ahola Date: Sun, 24 Apr 2011 09:39:33 +0000 (+0300) Subject: disable tiling of textures only if smooth lighting is used X-Git-Tag: 0.2.20110731_3~243 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=79799840a23b99aaf7f4af77a94ea4e9efcf5327;p=oweals%2Fminetest.git disable tiling of textures only if smooth lighting is used --- diff --git a/src/mapblock.cpp b/src/mapblock.cpp index 824f7dc8a..e98ec6e96 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -468,7 +468,12 @@ void updateFastFaceRow( end_of_texture = true; } - end_of_texture = true; //DEBUG + // Do this to disable tiling textures + //end_of_texture = true; //DEBUG + + // Disable tiling of textures if smooth lighting is used + if(smooth_lighting) + end_of_texture = true; if(next_is_different || end_of_texture) {