Stained glass layered opacity effect only visible at certain angles
Zeklandia opened this issue ยท 4 comments
Version information
mc1.18-0.4.0-alpha5+build.9
Expected Behavior
Alternating layers of differently colored stained glass should increase opacity with each layer, eventually becoming opaque.
Actual Behavior
The expected fog effect works in the downward direction, partially in lateral directions, and barely in the vertical direction. It behaves weirdly at chunk and sub-chunk borders, too.
Reproduction Steps
- Layer alternating stained glass colors (e.g., lime, yellow, lime, yellow, etc.) in any direction
- Look through the stained glass at one end toward the other, perpendicular to the layering
Java version
Java 17.0.1
CPU
AMD Ryzen 9 3000 series
GPU
NVIDIA GeForce RTX 20 series
Additional information
I tested the same location in vanilla and with just Sodium. Adding other mods didn't seem to affect it, including Lithium, Starlight, Iris, and Indium.
Here is the test setup I made with Sodium:
Up:
Down:
North:
East:
South:
West:
And here is the same setup in vanilla 1.18.1:
Up:
Down:
North:
East:
South:
West:
The in-game time was noon for all screenshots.
Issue #38 seems similar, but I didn't see this specific problem mentioned in the discussions about it.
If you think this issue is similar to #38, shouldn't you mention all of this in that issue?
I did tag the issue so that this one would get listed there. Since it's just a hunch on my part, I wanted to wait for confirmation from someone who understands how the mod works and the issue at hand.
Issue #38 is about potentially any case where you see a translucent block through another translucent block (influenced by direction and chunk boundaries), so including this case. This is a very dramatic showcase and I appreciate your work documenting it, more examples aren't necessary from a developer's perspective though. The solution is being worked on in PR #963.