From 79799840a23b99aaf7f4af77a94ea4e9efcf5327 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 24 Apr 2011 12:39:33 +0300 Subject: [PATCH] disable tiling of textures only if smooth lighting is used --- src/mapblock.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) { -- 2.44.0