Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ghost opened this issue Aug 6, 2020 · 7 comments
Labels
A-vanilla-issue Area: Vanilla issue E-will-not-fix Closed: This will not be worked on S-confirmed Status: Confirmed T-bug Type: Bug

Comments

@ghost
Copy link

ghost commented Aug 6, 2020

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)
@ghost ghost added the T-bug Type: Bug label Aug 6, 2020
@Kroppeb
Copy link
Contributor

Kroppeb commented Aug 6, 2020

Probably caused by #38

@ghost
Copy link
Author

ghost commented Aug 6, 2020

Seems like it. Should I close this issue?

@laggycomputer
Copy link

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

@jellysquid3
Copy link
Member

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.

@Kroppeb
Copy link
Contributor

Kroppeb commented Aug 8, 2020

Oh, my bad

@amnotbananaama amnotbananaama added the S-confirmed Status: Confirmed label Aug 25, 2020
@ryleu
Copy link

ryleu commented Apr 28, 2021

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

@SmajloSlovakian
Copy link

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.

@jellysquid3 jellysquid3 added the A-vanilla-issue Area: Vanilla issue label Nov 23, 2021
@jellysquid3 jellysquid3 added the E-will-not-fix Closed: This will not be worked on label Sep 17, 2023
@jellysquid3 jellysquid3 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-vanilla-issue Area: Vanilla issue E-will-not-fix Closed: This will not be worked on S-confirmed Status: Confirmed T-bug Type: Bug
Projects
None yet
Development

No branches or pull requests

6 participants