HD MipMaps

Fixes transparent objects in distance on Embeddium, Forge (1.20.1). Adds ability to bump mip map level beyond 4
before-after.jpg

before-after.jpg

Description

Get rid of those black bushy trees in the distance. Or increase mip map levels beyond 4 (6 for 64x packs). For Comparison, see yourself

 

HD MipMaps

Complete mipmaps for high-resolution resource packs on Forge 1.20.1, plus a fix for dark, speckled distant foliage when using Embeddium.

A client-side mod. Install it only on your own game; servers don’t need it.

The problem it solves

1. Vanilla stops mipmaps at level 4. Mipmaps are the progressively smaller copies of a texture the GPU uses for things that are far away. With a 16x16 block, four levels are enough to reach a single pixel. With a 64x64 resource pack, level 4 only gets down to 4x4 texels, so distant terrain has no smaller version to sample. The result is shimmering, flickering and noisy blocks at a distance that get worse when you move.

2. Embeddium makes distant leaves look dark. Embeddium (Sodium port for Forge) discards leaf pixels below an alpha value of 0.1 where vanilla uses 0.5. With mipmaps, that lets many faint, semi-transparent edge pixels through at a distance, and in some foliage textures (RLFoliage mod for example) those pixels are dark. The visible result is black speckle across distant tree canopies. With foliage-overhaul mods and packs you can notice it.

Features

Mip levels above 4 for the block atlas

  • Raises the block atlas (terrain, leaves, items) to up to level 10. The default is 6, which is the right depth for 64x packs (16x = 4, 32x = 5, 64x = 6, 128x = 7).
  • Works with the normal Mipmap Levels video setting: set it to 4 (the maximum) and the mod uses your configured level. Values 0-3 behave exactly like vanilla, and 0 still turns mipmaps off.
  • Applies to the block atlas only; chests, signs, beds and other atlases stay as vanilla.

Automatic safety

  • If the larger level would not fit the GPU’s maximum texture size, the level is lowered automatically instead of crashing the game, and a warning is logged.
  • Small textures (for example 16x16 modded blocks in a 64x pack) get an averaged colour for the deepest levels, so they don’t go blank at very long range.

Embeddium leaf alpha cutoff

  • Adjustable from 0.1 to 1.0. The default is 0.6, which removes the dark speckle on distant RLFoliage leaves.
  • Set it to 0.1 to get Embeddium’s original behavior back, or somewhere in between to taste. Higher means thinner / more flicker on foliage; lower means denser foliage with more edge pixels showing.
  • Only affects Embeddium’s leaf and tripwire rendering. Without Embeddium, the setting does nothing.

HD MipMaps Team

profile avatar
  • 1
    Projects
  • 3
    Downloads