1. celeron55
  2. minetest

Commits

celeron55  committed c24a8cf

Make CONTENT_IGNORE to not block the view when occlusion culling

  • Participants
  • Parent commits 1835300
  • Branches default

Comments (0)

Files changed (1)

File src/mapnode.cpp

View file
 		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
 	*/