Главная › Моды › Оптимизация › Gnetum

Gnetum

Gnetum

Distribute HUD updates over multiple frames to improve performance

Gnetum — мод для Minecraft 1.18.2–26.3 из категории «Оптимизация» для загрузчиков Fabric, Forge, NeoForge. Автор: decce6. В Lorix можно добавить мод в сборку — нужные зависимости подтянутся автоматически — и скачать её одним ZIP с папкой mods/ или запустить в Lorix Launcher одной кнопкой.

Категория
Оптимизация
Загрузчики
Fabric, Forge, NeoForge
Версии Minecraft
26.3, 26.2, 26.1.2, 26.1.1, 26.1, 1.21.11, 1.21.4, 1.21.1, 1.20.1, 1.18.2
Скачиваний на Modrinth
5 984 396

Зависимости

Описание

Gnetum

A Minecraft mod that improves performance by distributing HUD updates over multiple frames.

Overview

Gnetum divides a full HUD update into multiple "passes." Only one pass is rendered each frame, reducing the time taken on HUD updates and improving FPS.

Based on the rendering time of each element, Gnetum automatically distributes their updates over multiple frames, improving both the average FPS and the minimum.

Technical explanations

The idea behind Gnetum is to reduce the framerate of the HUD, which is not cheap to render and does not really change often, to improve the overall performance of the game, in a way that improves both the average and the minimum FPS. To achieve this:

Gnetum employs two framebuffers, called a back framebuffer and a front framebuffer, respectively

Each frame will render a "pass", that is, a (customizable) portion of the complete HUD, to the back framebuffer

If the number of passes is set to 4, for example, a full HUD update is distributed over 4 frames, saving a lot of draw calls every frame and improving FPS

After all passes finish rendering, the back framebuffer is "swapped" with the front framebuffer

Each frame also renders the front framebuffer, which contains a texture of the full HUD

There is also an HUD FPS limiter that defines the maximum FPS of the HUD.

Configuration

Starting from 4.0.0, integration is implemented with Sodium Config API. The configuration can be accessed from the Video Screen, allowing for adjustment of:

the number of passes

maximum HUD FPS

Как установить Gnetum

  1. Скачайте Lorix Launcher и создайте сборку с нужной версией и загрузчиком.
  2. Найдите Gnetum в окне модов — зависимости добавятся сами.
  3. Нажмите «Играть».

Или соберите модпак в конструкторе и скачайте ZIP: папку mods/ из архива положите в .minecraft.