Cull liquid faces next to unloaded nodes

master
Elias Fleckenstein 2022-04-17 22:09:32 +02:00
parent cae80cd927
commit 9e8eaa6f4d
No known key found for this signature in database
GPG Key ID: 06927A5199D6C9B2
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ static inline bool cull_face(NodeType self, NodeType nbr)
return false;
case VISIBILITY_BLEND:
return self == nbr;
return nbr == NODE_UNLOADED
|| nbr == self;
case VISIBILITY_SOLID:
return nbr == NODE_UNLOADED