Моды/ImmediatelyFast
ImmediatelyFast

ImmediatelyFast

Speed up immediate mode rendering in Minecraft

48.7M
7.5K

ImmediatelyFast


ImmediatelyFast is an open source Minecraft mod which improves the immediate mode rendering performance of the client.
It is designed to be lightweight and compatible with other mods.

Optimizations

ImmediatelyFast generally optimizes all immediate mode rendering by using a custom buffer implementation which batches draw calls and uploads data to the GPU in a more efficient way.
The following parts of the immediate mode rendering code are optimized:

  • Entities
  • Block entities
  • Particles
  • Text rendering
  • GUI/HUD
  • Immediate mode rendering of other mods

It also features targeted optimizations where vanilla rendering code is being changed in order to run faster.
The following parts of the rendering code are optimized with a more efficient implementation:

  • Map rendering
  • HUD rendering
  • Text rendering

Performance

Here are some performance comparisons of areas the mod optimizes particularly well:

If other mods are listed in the table this means that this mod also optimizes that part of the game.

Test Hardware: Ryzen 5 1600, 32GB DDR4, GTX 1060

FPS Numbers were taken from external tools (in this case MSI Afterburner) and averaged over a couple of seconds.
If you decide to test this yourself keep in mind that ImmediatelyFast can only improve FPS in a scenario where your CPU is the bottleneck (Most likely the case if your GPU isn't ancient or you use very heavy shaders). Slower CPUs will benefit more from this mod than really fast CPUs.

Entity Rendering

Generally FPS should be around 2x higher on busy servers. [Tested using IF 1.1.7 on 1.19.3]

Tested on a spigot server with 1000 cows in a 3x3 box on screen.

Other modsWithout ImmediatelyFastWith ImmediatelyFastImprovement
None16 FPS60 FPS3.75x
Sodium21 FPS82 FPS3.90x
Iris and Sodium60 FPS76 FPS1.27x

Map Rendering

Generally FPS should be around 5x higher when there are many maps on screen. [Tested using IF 1.1.1 on 1.19.3]

Tested on a fabric server with the Image2Map mod and around 930 maps on screen.

Other modsWithout ImmediatelyFastWith ImmediatelyFastImprovement
None50 FPS310 FPS6.20x
Sodium47 FPS320 FPS6.81x

HUD Rendering

Generally FPS should be around 40% higher in almost all scenarios. [Tested using IF 1.1.7 on 1.19.3]

Tested on a spigot server with different HUD elements on screen (Scoreboard, Potion effect overlay, Bossbars, Filled Chat, Extra hearts, Full Hotbar).

Other modsWithout ImmediatelyFastWith ImmediatelyFastImprovement
None250 FPS380 FPS1.52x
Sodium335 FPS630 FPS1.88x
Exordium and Sodium740 FPS840 FPS1.14x

Text Rendering

Generally FPS should be around 2x higher when there are many signs or holograms around you. [Tested using IF 1.1.7 on 1.19.3]

Tested on a spigot server with 200 signs (Filled with text) on screen.

Other modsWithout ImmediatelyFastWith ImmediatelyFastImprovement
None70 FPS125 FPS1.79x
Sodium110 FPS300 FPS2.73x

Block-Entity Rendering

Generally FPS should be around 20% higher when there are many block entities around you. [Tested using IF 1.1.7 on 1.19.3]

Tested on a spigot server with 400 chests on screen.

Other modsWithout ImmediatelyFastWith ImmediatelyFastImprovement
None170 FPS205 FPS1.20x
Sodium315 FPS410 FPS1.30x

Compatibility

ImmediatelyFast is structured to interfere with mods as little as possible. It should work fine with most if not all mods and modpacks.

Known incompatibilities:

  • OptiFabric / OptiFine
  • VulkanMod
  • Most closed source "clients" like LunarClient and LabyMod

If you encounter any issues, please report them on the Issue Tracker.

Config

ImmediatelyFast has a config file which can be found in the config folder of your Minecraft instance. Most options should be left at their default values, but some may be tweaked to improve performance or compatibility.

  • font_atlas_resizing: Increases the sizes of the font atlas textures. This improves performance with high resolution or custom server fonts.
  • map_atlas_generation: Puts the map textures into a single texture instead of multiple textures. This improves performance when many maps are on screen.
  • hud_batching: Improves the performance of the HUD rendering by submitting less draw calls. If you experience issues with HUD elements, try disabling this optimization.
  • fast_text_lookup: Caches some data between rendering text characters. This slightly improves performance when rendering a lot of text.
  • avoid_redundant_framebuffer_switching: This optimization reduces the number of framebuffer switches when rendering many different things in the world (entities, particles, block entities, ...) or the HUD to increase FPS.
  • experimental_disable_error_checking: Disables OpenGL error checking. This may improve performance on certain systems, but can cause hard to debug issues if enabled.
  • experimental_disable_resource_pack_conflict_handling: Controls if ImmediatelyFast should scan resource packs for incompatible core shader modifications in oder to disable some conflicting optimizations. This can be disabled to force optimizations even if they may cause graphical issues with certain resource packs.
  • experimental_sign_text_buffering: Buffers text on signs instead of re-rendering it every frame. May cause issues with high resolution or custom fonts.
  • experimental_screen_batching: Improves the performance of some in-game screens rendering by submitting less draw calls.

Developer API

You can read the latest version of the API docs here.

Partners

Kinetic Hosting offers extremely affordable deals on servers with very good hardware! If you'd like to cash in on the good deals visit kinetichosting.com.

Kinetic Hosting


YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.

YourKit


Credits to sydist for making the logo!

Совместимость

Minecraft: Java Edition

1.20–1.21.101.18.2–1.19.4

Платформы

Поддерживаемые окружения

Клиент

Создатели

Детали

Лицензия:LGPL-3.0-only
Опубликован:3 года назад
Обновлён:2 дня назад
Главная