From 1d9495f25715f5fc83c90f327cc48c67ff1b7963 Mon Sep 17 00:00:00 2001 From: douira Date: Tue, 10 Dec 2024 20:52:36 +0100 Subject: [PATCH] add inwards facing quads for fluid down faces, fixes https://github.com/CaffeineMC/sodium/issues/1210 --- .../render/chunk/compile/pipeline/DefaultFluidRenderer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/net/caffeinemc/mods/sodium/client/render/chunk/compile/pipeline/DefaultFluidRenderer.java b/common/src/main/java/net/caffeinemc/mods/sodium/client/render/chunk/compile/pipeline/DefaultFluidRenderer.java index f7b46679bf..d6f26a721b 100644 --- a/common/src/main/java/net/caffeinemc/mods/sodium/client/render/chunk/compile/pipeline/DefaultFluidRenderer.java +++ b/common/src/main/java/net/caffeinemc/mods/sodium/client/render/chunk/compile/pipeline/DefaultFluidRenderer.java @@ -477,6 +477,7 @@ && isAlignedEquals(southEastHeight, southWestHeight) this.updateQuad(quad, level, blockPos, lighter, Direction.DOWN, ModelQuadFacing.NEG_Y, 1.0F, colorProvider, fluidState); this.writeQuad(meshBuilder, collector, material, offset, quad, ModelQuadFacing.NEG_Y, false); + this.writeQuad(meshBuilder, collector, material, offset, quad, ModelQuadFacing.POS_Y, true); } quad.setFlags(ModelQuadFlags.IS_PARALLEL | ModelQuadFlags.IS_ALIGNED);