"tile" texture scaling also causes incredible lag with small textures
The bug
If a small texture is defined for a UI element and its scaling behaviour set to "tile", the game will be incredibly laggy on the client due to it having to render a single texture file thousands of times.
How to reproduce
- Download and apply the attached resource pack
- Try your best to navigate the menus
Expected results
A usable experience.
Actual results
prankd
How to fix
If the texture to be tiled is sufficiently small, then pre-generate a larger version of the tiled texture and stitch this to the gui.png-atlas, then tile with this. Much less texture planes will be needed as a result while the outcome is visually identical.
2024-04-08, 02:15 PM
2024-09-22, 12:28 AM
2024-09-05, 04:22 PM
2
1