mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 18:13:46 +01:00
Make CONTENT_IGNORE to not block the view when occlusion culling
This commit is contained in:
parent
a2af490b7b
commit
e9fd3def90
@ -164,6 +164,9 @@ void init_mapnode()
|
|||||||
f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1";
|
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
|
Initialize mapnode content
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user