Skip to content

Commit 166cfa4

Browse files
authored
Create README.md
1 parent 2ed29f0 commit 166cfa4

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# MapMipMapMod
2+
When maps in-game are rendered far away from the player, they cause artifacts. These artifacts happen because mipmaps for dynamic textures are disabled by default in Minecraft. This mod aims to solve this niche problem.
3+
4+
Image on the left is with level 0 mipmaps (default in-game) and the image on the right is with level 4 mipmaps (with the mod).
5+
![imagen](https://github.com/user-attachments/assets/d76ed9df-9245-4fb9-8a61-b77c2d4d38a3)
6+
The image has been rendered 10 blocks away from the player, using a palette of only flat carpet colors. The image has been preprocessed with Floyd-Steinberg dithering.
7+
8+
Thanks to **EarilGarion** for his infinite patience and his OpenGL explanations.
9+
10+
---
11+
12+
### New version of MapMipMapMod with big performance improvements.
13+
14+
- Uses map texture atlasing to store multiple textures in a single one and boost performance.
15+
- Generates mipmaps on the GPU instead of the CPU (vanilla). Doesn't compromise on the performance.
16+
- Doesn't update textures on locked maps, removing lag spikes when rendering many maps.
17+
18+
### Benchmark
19+
- GPU: RTX 3060 (laptop)
20+
- CPU: i7-11800H
21+
- RAM: 32GB
22+
- Maps: 1260
23+
- Empty world.
24+
25+
| Mipmaps | MapMipMapMod + ImmediatelyFast + Sodium | MapMipMapMod + ImmediatelyFast | Vanilla |
26+
|---------|-----------------------------------------|--------------------------------|---------|
27+
| 0-4 | 200 fps | 130 fps | 50 fps |

0 commit comments

Comments
 (0)