Translucent blocks do not render correctly (fixed in Sodium 0.6)
RdSt14 opened this issue ยท 28 comments
Expected Behavior
Water will be visible inside glass stained pipes, commonly used in water elevators
Actual Behavior
Water is not visible through stained glasses, although items can be seen flowing
Reproduction Steps
Make a water tube, doesn't matter if its flowing or a water elevator type.
Attachments
System Information
- Java Version: [Java 8 Update 251]
- CPU: [Intel Core i5-7200U]
- GPU: [Intel HD Graphics 620]
This bug is:
- issues related to interactions between multiple layers semi-transparent blocks, such as water, ice, stained glass, nether portals, etc.
This bug is not:
- issues related to blocks with clip transparency, such as glass
- issues related to one layer of translucency, such as the water + kelp rendering issues reported in #932
We know a lot about this bug already. Please refrain from posting unless you have something new to add.
Water in a water column renders with strips and breaks off directly on the borders it seems like. This changes while you move through the column where you can see random vertical and horizontal "panes" of darker water.
Not sure if it's been referenced elsewhere but on subchunks it adds slices/faces to water
is there an actual implementable fix for this yet? or am I gonna be stuck not viewing the waterfalls in my terrarium?
is there an actual implementable fix for this yet? or am I gonna be stuck not viewing the waterfalls in my terrarium?
No, it's a WIP. See: pull request
Please stop!
...adding yet more images of the same thing
This bug is being actively worked on, and we don't need any more information about it.
Instead, sit down, relax, and wait patiently.
Thanks!
This problem will be resolved in Sodium 0.6 with the introduction of #2016.
also it show other weird thing like the sky rendering black instead of white or stained glass can't show other stained glasses behind them
Sodium does not implement quad sorting for translucent block faces, leading to all kinds of translucency issues. I'll be making this a tracking issue for other problems caused by it.
See this video by Xisumavoid for another example of this issue with Honey Blocks (they are almost as see-through as glass, even though they shouldn't be that translucent).
Just in case this is useful, not sure if I'm rehashing what's already known -
I'm getting same rendering as @zLauch on f577eb2 (and also on ishland's 1.16.2 support PR, though evidently that's not the actual cause) but not 0.1.0. Hardware is AMD Mullins, happens with all of sodium's rendering modes.
Java is version 1.8.0_262, using 64-bit architecture.
AMD A8-7410 APU with AMD Radeon R5 Graphics
Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] (rev 45)
Subsystem: Dell Device 06bf
Kernel driver in use: amdgpu
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.1.6
Not sure if this is helpful/already known but it seems like on chunk borders translucency effects are less broken? I've only tested it with honey/slime blocks but it seems like when you have two blocks on either side of a chunk border the middle part gets rendered correctly. The image should be a bit better at explaining.
Not sure if this is helpful/already known but it seems like on chunk borders translucency effects are less broken? I've only tested it with honey/slime blocks but it seems like when you have two blocks on either side of a chunk border the middle part gets rendered correctly. The image should be a bit better at explaining.
Note that this issue affects subchunk borders, not just chunk borders. You'll see the same effect on the vertical axis, if you cross borders.