-
Bug
-
Resolution: Unresolved
-
None
-
1.20.4, 1.20.5 Pre-Release 2, 1.20.6 Release Candidate 1
-
Confirmed
-
Rendering, UI
The bug
The screen overlay shown when wearing a pumpkin gets stretched to fit the window size. All pumpkins in-game are properly square, so I wouldn't expect them to somehow become rectangular when equipped, and this also looks extremely strange for certain window shapes.
How to fix
Render the pumpkin overlay as a square (not a rectangle) in the middle of the screen, scaled up as much as possible so that all of it fits but such that scaling it any further would cause some of it to not fit. For any area not covered, repeat the color of the pixel at the edge of the texture out to the edge of the window as to cover that area.
I've attached a mockup resource pack that fixes this specifically for the 854x480 default resolution: pumpkin-overlay-stretch-fix-854x480-1.20.5pre2-v1.0.zip
- relates to
-
MC-265456 End portal/end gateway starfield pixels are stretched according to window size
- Open
-
MC-270822 Nether portal screen overlay / nether loading screen pixels are stretched to window size
- Open
-
MC-222544 Resizing the window causes freezing overlay effect to look unnaturally stretched
- Reopened