-
Bug
-
Resolution: Unresolved
-
None
-
1.21.4 Pre-Release 1
-
None
-
Unconfirmed
-
(Unassigned)
Relates to: MC-108323 MC-277445 MC-278505
The bug
When a strikethrough is displayed over text, the points where they intersect display at twice the opacity when fading.
How to reproduce
/title @a title {"text":"■", "strikethrough": true, "shadow_color": 0}
Expected results
Everything would fade out uniformly.
Actual results
The place where the strikethrough and square meet remains twice as opaque as elsewhere when fading out.
How to fix
Instead of rendering the strikethrough separately, it may make more sense to pre-generate struck-through characters and stitch them to their own font atlas so only these need to be rendered. In addition to eliminating this issue, it may also reduce rendering lag.