aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-03 20:45:44 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-03 20:45:44 +0200
commite9fd3def90e59abc7e242e58b5202ac45783ee5c (patch)
tree3d2fc7ca1ec3d1e9038553a92769a7456b74862d
parenta2af490b7b4507b343418b3149fee249d6a81f2b (diff)
downloadminetest-e9fd3def90e59abc7e242e58b5202ac45783ee5c.tar.gz
minetest-e9fd3def90e59abc7e242e58b5202ac45783ee5c.tar.bz2
minetest-e9fd3def90e59abc7e242e58b5202ac45783ee5c.zip
Make CONTENT_IGNORE to not block the view when occlusion culling
-rw-r--r--src/mapnode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp
index 484fcbe0a..847608040 100644
--- a/src/mapnode.cpp
+++ b/src/mapnode.cpp
@@ -164,6 +164,9 @@ void init_mapnode()
f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1";
}
+ // Make CONTENT_IGNORE to not block the view when occlusion culling
+ content_features(CONTENT_IGNORE).solidness = 0;
+
/*
Initialize mapnode content
*/