2d text elements cause hotbar to solidify
Allymonies opened this issue ยท 1 comments
81d431a fixes this, but I'm not satisfied with it - setupFlat
already enables blending at the start of Text2d's render method (and all other objects):
But nothing I can find in textRenderer will disable blending. So, unless I'm missing something, I'm not fully confident that re-enabling blending at the end of Text2d is the correct state to leave the renderer in. Perhaps some of the other methods involved (like tex2d) disable blending as a side effect, I don't actually know.
This could just be a side effect of Overlay Glasses using immediate rendering. As prep for holograms, I do need to make all the methods use the vertex consumers instead, which could either resurface issues similar to this or squash them all entirely.
When this fix makes it into a release, let me know if you find any similar issues with improper render state.