diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-03 20:45:44 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-03 20:45:44 +0200 |
commit | e9fd3def90e59abc7e242e58b5202ac45783ee5c (patch) | |
tree | 3d2fc7ca1ec3d1e9038553a92769a7456b74862d /src | |
parent | a2af490b7b4507b343418b3149fee249d6a81f2b (diff) | |
download | minetest-e9fd3def90e59abc7e242e58b5202ac45783ee5c.tar.gz minetest-e9fd3def90e59abc7e242e58b5202ac45783ee5c.tar.bz2 minetest-e9fd3def90e59abc7e242e58b5202ac45783ee5c.zip |
Make CONTENT_IGNORE to not block the view when occlusion culling
Diffstat (limited to 'src')
-rw-r--r-- | src/mapnode.cpp | 3 |
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 */ |