Sodium Reloaded (Unofficial)

Sodium Reloaded (Unofficial)

0 Downloads

Invisible players on a team with “seeFriendlyInvisibles” enabled will cull other translucent blocks behind them

Opened this issue · 7 comments

commented

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

  1. Spawn/find an entity that is obstructing a translucent block
  2. /team create gamers
  3. /team join gamers @e
  4. /effect give @e invisibility

Attachments

Screen Shot 2020-08-06 at 13 51 33

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)
commented

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.

commented

Probably caused by #38

commented

Seems like it. Should I close this issue?

commented

You probably should. You may also want to add a comment on that issue either referencing this one or re-explaining this behavior.

commented

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.

commented

Oh, my bad

commented

Does this happen the same way when you're in spectator mode looking at something invisible?