The Bug:
Players' name tags that are behind blocks or entities are rendered invisible or partly invisible depending on the angle you're facing.
This issue can more easily be seen when the"Text Background Opacity" accessibility option is set to high values.
Steps to Reproduce:
Get two players and label them "Player A" and "Player B".
Get "Player A" to stand behind a wall and have "Player B" look at their name tag.
Get "Player B" to constantly move their camera to the left and right sides of "Player A"'s name tag.
Observed Behavior:
Players' name tags that are behind blocks or entities are rendered invisible or partly invisible.
Expected Behavior:
Players' name tags that are behind blocks or entities would always be visible regardless of the angle you're facing
Also relates to MC-276005