diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-24 12:39:33 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-24 12:39:33 +0300 |
commit | 79799840a23b99aaf7f4af77a94ea4e9efcf5327 (patch) | |
tree | a94a733eadc3841b3066b09884d3b3b0e44179d9 | |
parent | b21c7de3eda09b9117123639589c0521ce243afd (diff) | |
download | minetest-79799840a23b99aaf7f4af77a94ea4e9efcf5327.tar.gz minetest-79799840a23b99aaf7f4af77a94ea4e9efcf5327.tar.bz2 minetest-79799840a23b99aaf7f4af77a94ea4e9efcf5327.zip |
disable tiling of textures only if smooth lighting is used
-rw-r--r-- | src/mapblock.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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) { |