promotional bannermobile promotional banner

Window Resize Fix (Iris & Distant Horizons)

Fixes Distant Horizons breaking after a window resize with Iris, and the world's depth buffer not following a replaced render target.
Back to Files

Window Resize Fix 1.4.0 Fabric (MC 1.20.1-1.21.4)

File nameirisscalefix-fabric-1.20.1-1.21.4-1.4.0.jar
Uploader
mzgmzg
Uploaded
Nov 1, 2026
Downloads
74
Size
13.9 KB
Mod Loaders
Fabric
File ID
9395423
Type
R
Release
Supported game versions
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21
  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:window-resize-fix-iris-distant-horizons-1648773:9395423"

Learn more about Curse Maven

What's new

1.4.0 — Fabric, Minecraft 1.20.1 – 1.21.4

Window Resize Fix is now on Fabric. One file for 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3 and 1.21.4.

The same fixes as the NeoForge build, for Iris on Fabric:

  • Distant Horizons LODs no longer end up drawn on top of everything after you resize the window, switch fullscreen, alt-tab, or use a render-scaling mod.
  • Iris follows the depth buffer when the world is rendered at a different resolution from the window.
  • The near world no longer goes missing when the depth buffer's format changes under Iris.

Each fix has its own switch in config/irisscalefix.properties, re-read while the game runs, and the log says which fixes are active and how often each one stepped in.

Requires: Fabric Loader, Iris 1.7.0 – 1.8.x. Distant Horizons optional. Client-side only.

Thanks to kaosuran, whose own Fabric port showed that this was wanted on Fabric.

This mod has no additional files