Invisible players on a team with “seeFriendlyInvisibles” enabled will cull other translucent blocks behind them
Opened this issue · 7 comments
Expected Behavior
I'd expect to see through the player and see the blocks behind (i.e. stained glass)
Actual Behavior
The translucent blocks behind the invisible player will not render
Reproduction Steps
I was playing on The Hive and saw some funky rendering. I later did some testing in SP and found that it's because of the “seeFriendlyInvisibles” team modifier thing
- Spawn/find an entity that is obstructing a translucent block
- /team create gamers
- /team join gamers @e
- /effect give @e invisibility
Attachments
System Information
- Java Version: 1.8.0_252 64bit
- CPU: 12x Intel i7-8750H @ 2.20GHz
- GPU: AMD Radeon Pro 555X
(2018 Macbook Pro, base model running MacOS Mojave)
I can confirm that this is a vanilla issue and it will make particles, entities, block entities, translucent blocks and beacon beams invisible behind translucent entities, name tags of players who are crouching... there may be more. if sodium fixes this, i will be happy.
Probably caused by #38
You probably should. You may also want to add a comment on that issue either referencing this one or re-explaining this behavior.
This is unrelated to #38 and is a separate issue caused by entities being rendered before the world. This causes their fully transparent fragments to be written to the depth buffer first, meaning that by the time we render the water, the GPU will never write any new fragments because they're behind the "nearest" fragment.