TexTweaks
TexTweaks is a mod that has various features for modifying textures and how they are handled in Minecraft.
Texture Scaling
Upscale or downscale textures at runtime with customizable algorithm (linear/nearest neighbor). This is useful for:
- Creating complete mipmaps (more about this down below)
- Reducing the hardware requirements of texture packs that are only available at very high resolutions
- Playing Minecraft using 1x1 textures
Better Mipmaps
By default, Minecraft allows you to set mipmap levels up to 4 in the options. This is enough for the default 16x16 textures. But, if you are using a higher resolution texture pack, the mipmaps will not be complete (not going all the way down to 1x1). This causes distant textures to become significantly more aliased than normal.
It's not so easy to just force the game to generate more levels, as it requires all textures to be equal or larger than 2 to the power of the mipmap level, and most high resolution texture packs don't have all textures (including items) done. However, by upscaling all textures to the same size in game, it's now possible to generate higher level mipmaps easily, without bothering with any image tools.
Here is a comparison of 4x mipmapping vs 8x mipmapping using a 256x resource pack: 4x 8x (please view at native resolution for accuracy)
To test if this is working, press the "Show Texture Info" keybind (unbound by default) and check the mipmap level for the block.png
atlas.
LOD Bias
LOD Bias changes how far before the next mipmap level is used. This can be used for fine-tuning sharpness and aliasing of the textures, or as a way to give Minecraft an interesting look.
This is what happens when you set LOD Bias very high:
Compatibility
TexTweaks is tested to work with optifine, sodium, iris and canvas renderer. There are no conflicts found so far at least in the main features. If you found a bug or conflict, please report to the issue tracker.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+