Water and lava surface is sometimes rendered from below even if there are blocks above
The bug
Flooded/underwater rooms get a ceiling of water as if reaching an air surface, even directly below a solid block.
If the solid block is replaced with a waterlogged block the "water surface" effect is removed. But a solid block produces the water surface effect. This is intermittent, it does not effect all blocks in this way, however I have been unable to determine why, or find a work around this purely visual, but incredibly annoying bug for anyone building under water.
I think it has something to do with proximity to glass, extending 1 block away.
To reproduce
- Build this structure and fill it with water

- Go inside
→
On the edges of the room's ceiling, you'll see the water surface

- Break the middle block and replace it with glass
→
Now the water surface is visible everywhere

It would be expected that the water ceiling only renders from above, but not from below.
2020-03-18, 11:22 AM
2024-07-14, 06:56 PM
31
15
1.15.2 - 1.21
1.15.2, 1.16.1, 20w28a, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3, 1.16.4 Pre-release 2, 1.16.4, 20w51a, 21w03a, 1.16.5, 21w06a, 21w14a, 1.17, 1.17.1, 21w37a, 21w40a, 1.18 Pre-release 5, 1.18.1, 22w03a, 1.18.2 Pre-release 3, 1.18.2, 22w16b, 1.19, 1.19.2, 1.19.3, 1.19.4, 23w17a, 1.20, 1.20.1, 23w32a, 1.20.2, 1.20.3 Release Candidate 1, 1.20.4, 23w51b, 1.21
-