From: Elias Fleckenstein Date: Sun, 17 Apr 2022 20:09:32 +0000 (+0200) Subject: Cull liquid faces next to unloaded nodes X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=9e8eaa6f4d08d02e82fc0de29b184564f72aab84;p=dragonblocks_alpha.git Cull liquid faces next to unloaded nodes --- diff --git a/src/client/terrain_gfx.c b/src/client/terrain_gfx.c index bf9fd98..258a295 100644 --- a/src/client/terrain_gfx.c +++ b/src/client/terrain_gfx.c @@ -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