From e9fd3def90e59abc7e242e58b5202ac45783ee5c Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 3 Nov 2011 20:45:44 +0200 Subject: [PATCH] Make CONTENT_IGNORE to not block the view when occlusion culling --- src/mapnode.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 */