Waterlogged double slabs and stairs have Z-fighting when rendered next to water
Lolothepro opened this issue · 6 comments
Bug Description
I suspect that this commit causes undesirable side effects with waterlogged double slabs.
Sodium:
Vanilla:
It causes Z-Fighting with Sodium
i.e:
Reproduction Steps
Make a wall of waterlogged double slabs
Switch to spectator mode
Go into the wall or move away from the wall
Log File
Crash Report
Vanilla's rendition of this scene is objectively worse.
Yes, but it causes Z-Fighting
presumed root cause is bc38d56 : that code changed the test on isFaceSturdy
on the pos, dir
to the adjPos, dir.getOpposite()
. It makes sense for the case when the water is occluded by a neighbor block, but that removed the test for water being occluded by the faces of the waterlogged block itself.
This also causes z-fighting on full-faces of waterlogged stairs.