Text shaders resource packs cause subtitles to flicker
When applying a resource pack that changes the rendertype_text shaders to replace grayscale text (such as inventory text) to another color this will also cause subtitle text to be changed as well causing flickering when the subtitle text decays to the text color being replaced.
I believe setting the subtitle text to a unique Z position (like with tooltip and chat text) would allow these packs to not affect the subtitles.
Another solution would be to have the subtitle decay function lower the alpha value instead of rgb values.
Created Issue:
Text shaders resource packs cause subtitles to flicker
When applying a resource pack that changes the rendertype_text shaders to replace grayscale text (such as inventory text) to another color this will also cause subtitle text to be changed as well causing flickering when the subtitle text decays to the text color being replaced.
I believe setting the subtitle text to a unique Z position (like with tooltip and chat text) would allow these packs to not affect the subtitles.
When applying a resource pack that changes the rendertype_text shaders to replace grayscale text (such as inventory text) to another color this will also cause subtitle text to be changed as well causing flickering when the subtitle text decays to the text color being replaced.
I believe setting the subtitle text to a unique Z position (like with tooltip and chat text) would allow these packs to not affect the subtitles.
Another solution would be to have the subtitle decay function lower the alpha value instead of rgb values.
Please provide the resource pack for testing.
I've attached a resource pack to test with
confirmed, affect 1.20.4
This bug was fixed in 23w51a.
The bug in 1.20.4: MC-264637 1_20_4.mp4
The fix version 23w51a: MC-264637 23w51a (fixed).mp4