Interframe

Generates frames in between real ones to make the game smoother
config.png

config.png

Description

Interframe

Frame generation for Minecraft. Interframe takes each finished frame and shows synthesised frames between it and the next one: one extra by default, up to three. Client only. Sodium is optional and hosts the settings page.

Synthesiser modes

  • Reproject is the default. It warps the picture by the camera's rotation and, using the depth buffer, by your movement, so the world stays sharp while you walk and turn.
  • Blend cross-fades the two frames. Always correct, but fast motion ghosts.
  • Timewarp warps the newest frame forward along your motion: the lowest latency, with a slight overshoot when you stop or reverse.
  • Neural runs a RIFE model through ONNX Runtime.

Cuts and VSync

  • A turn of more than 25 degrees in one frame, or a jump of more than 5 blocks, counts as a cut: that frame is blended, not warped, so respawns and teleports do not smear.
  • With VSync on, frames only go into refresh slots that would have stayed empty. At or near the refresh rate nothing is inserted.
  • With VSync off, frames are spread evenly over the frame interval, which at 2x adds about half a frame of latency.
  • Under an Iris shaderpack the movement warp switches itself off; the rotation warp stays.

Neural mode

ONNX Runtime is not bundled, because its native libraries are large. Put an ONNX Runtime jar on the game's classpath and a RIFE model at config/interframe/model.onnx, then choose Neural. If either is missing, or the model does not fit, Interframe logs it and uses the built-in synthesiser.

Requirements

Minecraft 1.20.1 (Forge or Fabric), 1.21.1 or 26.2 (NeoForge or Fabric), on Java 17, 21 and 25 respectively. Client only. With Sodium on 1.21.1 and 26.2 the options are a page in its video settings (Reese's Sodium Options too); otherwise, and on 1.20.1, edit config/interframe.json. On 26.2 it needs the OpenGL backend. Switched off, presentation is exactly vanilla.

This mod has been abandoned. It works fine, but it will not receive updates.


Join the Discord  Source on GitHub

Related mods

Sodium

The other performance mods

Fovea SwiftGen Streamline Sightline

NeoForge 1.21.1 and 26.2, Fabric 1.20.1, 1.21.1 and 26.2, Forge 1.20.1. Client only. Free to use in modpacks.

Interframe Team

profile avatar
  • 82
    Followers
  • 69
    Projects
  • 5.0M
    Downloads
Donate

More from falling_colud96View all