CurseForge · Minecraft mod
APIRender
Replaces the OpenGL renderer with DirectX 12, Vulkan or DirectX 11: more FPS, shader packs, FSR/XeSS/DLSS upscaling and frame generation.
Quick answer
Which APIRender release should I use?
apirender-4.0.0r-fabric-1.20.1.jar targets 1.20.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is APIRender required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does apirender-4.0.0r-fabric-1.20.1.jar need?
apirender-4.0.0r-fabric-1.20.1.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add APIRender without breaking your instance.
Built for apirender-4.0.0r-fabric-1.20.1.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use apirender-4.0.0r-fabric-1.20.1.jar. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside apirender-4.0.0r-fabric-1.20.1.jar. It opens that exact file at the source.
About this project
What does APIRender add?
APIRender — Minecraft on DirectX 12, Vulkan and DirectX 11 (version 4.0.0)
Makes Minecraft render with DirectX 12, Vulkan or DirectX 11 instead of OpenGL, without rewriting the game's renderer: the mod replaces the OpenGL library LWJGL loads with its own, which tracks OpenGL's state, translates the shaders and draws with the API you choose. That is why it stays compatible with other mods and with shader packs. Each file is a single .jar with everything included.
It is strongly recommended to use the "apirender-x.x.xr" versions, as they offer the best performance. Use the "Dev" versions only if you encounter errors, in order to assist in reporting such errors.
APIRender is the new name of DX12 GL (same author, same mod). If you have a
dx12gl-*.jarin yourmodsfolder, remove it: APIRender replaces it and keeps your settings.
Requirements: Windows 10/11 64-bit · a DirectX 12, Vulkan 1.3 or DirectX 11 capable GPU · one of these versions:
| Minecraft / loader | Java | File |
|---|---|---|
| Forge 1.20.1 | 17 | apirender-4.0.0r.jar |
| Forge 1.19.2 | 17 | apirender-4.0.0r-forge-1.19.2.jar |
| NeoForge 1.21.1 | 21 | apirender-4.0.0r-neoforge-1.21.1.jar |
| Forge 1.21.1 | 21 | apirender-4.0.0r-forge-1.21.1.jar |
| Fabric 1.20.1 | 17 | apirender-4.0.0r-fabric-1.20.1.jar (Fabric API recommended) |
If your PC does not support the chosen API or something fails at startup, the mod touches nothing and Minecraft keeps using plain OpenGL.
Which file to download
- r (Release): the normal one, clean and without measurements. Use this one.
- Dev (Beta): the same, plus a detailed log of what the mod does and what fails (
dx12gl_d3d12.log,dx12gl_trace.txtand thedx12gl_dumpfolder). Use it when you report a bug and send those files.
Renderers
Pick one in Options → Video Settings → "Renderer…" (or the "Renderer" page of Embeddium's menu). It applies when you restart the game.
| Renderer | Status | Shader packs | Upscaling and frame generation | Low latency |
|---|---|---|---|---|
| DirectX 12 | Default, stable | Yes (see the list below) | FSR 3, XeSS, DLSS · FSR 3 and XeSS frame generation | NVIDIA Reflex, AMD Anti-Lag 2 |
| Vulkan | New, experimental | Partial: BSL, Complementary and Photon tested | Not yet | Not yet |
| DirectX 11 | New, experimental | No (vanilla rendering only) | Not yet | Not yet |
| OpenGL | Minecraft's own | As usual | — | — |
Choosing OpenGL turns the mod off without removing it.
Results
Measured on an RTX 2060 laptop (1920x1080 monitor at 120 Hz). Your results may vary. "FPS" is the game's own counter (F3); with Save GPU on, the screen shows at most your monitor's refresh rate and the extra frames are not drawn.
DirectX 12 compared with OpenGL
| Scene | OpenGL | DirectX 12 |
|---|---|---|
| Vanilla, 854x480, distance 12 | 185-191 FPS | 570-690 FPS |
| Vanilla, 1080p, distance 32 | ~60 FPS | 134-150 FPS |
| With Embeddium, 854x480, distance 12 | ~274 FPS | ~1040 FPS |
| 88 mobs + particles | ~100 FPS | ~250 FPS |
The four renderers (Forge 1.20.1 vanilla, 1920x982, distance 12, present limit Auto)
| OpenGL | DirectX 12 | Vulkan | DirectX 11 |
|---|---|---|---|
| ~140 FPS | ~500-520 FPS | ~600 FPS | ~520-550 FPS |
Vulkan compared with DirectX 12 (game FPS with no FPS cap in the game, 1920x982, distance 12, present limit Auto)
| Version | DirectX 12 | Vulkan |
|---|---|---|
| Forge 1.19.2 + Embeddium | 2624 FPS | 2746 FPS |
| Fabric 1.20.1 + Sodium | 3796 FPS | 4474 FPS |
| NeoForge 1.21.1 + Sodium | 3383 FPS | 4075 FPS |
| Forge 1.21.1 | 764 FPS | 930 FPS |
- The image is the same as with OpenGL, in all five versions.
- Capped at 60 FPS, the processor uses the same as Minecraft with OpenGL and no mods (~15 W in the test).
- With shader packs DirectX 12 uses less GPU per frame than OpenGL in my tests (BSL 5.6 vs 6.3 ms; Spooklementary 4.1 vs 4.5 ms). With Complementary at 60 FPS: same CPU, same or less VRAM and the same GPU power draw.
What's included
Renderer
- DirectX 12, Vulkan or DirectX 11 drawing, with the OpenGL calls applied on a separate worker thread (it uses one more CPU core).
- Choose which GPU draws (useful on dual-GPU laptops), present limit (Auto = your monitor's refresh rate), "frames ahead" (latency vs. smoothness), memory use and FPS in the window title.
- Save GPU (on by default): the game keeps running as fast as it can, but only the frames your monitor can show are drawn; nothing is drawn while the window is minimized.
- Upload memory grows and shrinks with actual use, and Embeddium/Sodium chunk geometry lives only on the GPU (about 1.3 GB less RAM with Complementary in my tests).
- If the driver resets or the GPU changes, the mod rebuilds everything by itself and the game keeps running.
- MSI Afterburner / RTSS overlays and screenshots (F2) work.
Upscaling and frame generation (DirectX 12; the libraries come inside the jar)
- Resolution upscaling: spatial (built in), AMD FSR 3, Intel XeSS and NVIDIA DLSS (RTX only), with quality presets and sharpness. It also works with shader packs (there the spatial upscaler is always used: the temporal ones left trails over the pack's image).
- Without shader packs, upscaling pauses itself if it does not lower GPU time by at least 5 % (Minecraft spends very little per pixel); the settings screen says so.
- Frame generation: FSR 3, or XeSS (cards with Shader Model 6.4: GTX 1000 / RX 5000 / Arc or newer; it brings its own low latency mode, XeLL). Also with shader packs.
- Low latency: NVIDIA Reflex and AMD Anti-Lag 2.
Shader packs (Oculus / Iris)
- Work out of the box: "Shader compatibility" is on by default. The first time, a pack's shaders are compiled in the background (fast DXC compile, then FXC at low priority) with a "Shader compilation" progress bar and a disk cache.
- Tested with DirectX 12: Complementary Reimagined, Spooklementary, BSL, Bliss, Hysteria, Photon (with colored lights), Alpha Piscium and Rethinking Voxels. Other packs may not work.
- Compute shaders, storage buffers and images, geometry shaders, tessellation (emulated with a geometry shader), subgroup operations and indirect dispatch.
Other mods tested
- Embeddium / Sodium, Distant Horizons (with and without shaders), Create (Flywheel), Xaero's Minimap / World Map, Grassier Grass (animated grass with shaders), ImmediatelyFast, Alloyium, Brute Force Rendering Culling Revived and Gnetum.
- Performance fix for Better Combat (and Better Mob Combat): its weapon lookups are cached. In a 240-mod pack it went from ~18 % to ~3 % of the render thread.
modfixes=falseindx12gl/config.propertiesturns it off.
OpenGL 4.6 (experimental, off by default)
- The "OpenGL" option chooses 3.3 (default, stable) or 4.6. With 4.6 the mod presents itself as a modern GPU and mods take their OpenGL 4.x paths: direct state access, indirect drawing, persistent mapping, SPIR-V and more. For example Create (Flywheel) switches to its indirect drawing with culling on the GPU. Applies on restart.
In-game settings
- Options → Video Settings → "Renderer…" button. With Embeddium (1.20.1 and 1.21.1) there is also a "Renderer" page in its menu; with Embeddium for 1.19.2 or with Sodium, a "Renderer…" button at the bottom right of its video menu.
- Hovering an option explains what it does and how it affects performance. English and Spanish text.
- Everything is stored in
dx12gl/config.properties(can also be edited by hand).
Installation
- Put the jar for your version in the instance's
modsfolder (and remove any olddx12gl-*.jar). - Forge 1.20.1, Forge 1.21.1 and NeoForge: start the game once, close it and start it again. The first start only disables the loader's early loading window. Forge 1.19.2 and Fabric use the mod from the first start.
- Optional: Embeddium/Sodium and Oculus/Iris. Shader packs need nothing else: pick one in Oculus/Iris as usual.
Known limitations
- Windows only. Versions older than 1.17 (1.16.5, 1.12.2) use fixed-function OpenGL, which the mod does not translate yet.
- Vulkan and DirectX 11 are experimental: no upscaling, frame generation or low latency yet; DirectX 11 does not run shader packs, and in Vulkan some packs still look wrong (Rethinking Voxels lighting is too dark).
- The first time a shader pack is used (or after updating the mod) its shaders are compiled: from a few seconds up to about a minute of high CPU use, during which part of the world may not be drawn.
- DLSS needs an NVIDIA RTX GPU; XeSS and FSR 3 work on any GPU. Frame generation adds almost one frame of latency and can leave small artifacts; it is worth it from about 40-60 real FPS.
- Not tested on an AMD Radeon card yet (shader pack pipelines are built in the background and cached for AMD). If you have one, please tell me how it goes.
- The OpenGL 4.6 option is experimental. Missing: tessellation together with its own geometry shader, transform feedback objects,
dvec3/dvec4attributes, cubemaps as render targets and image arrays. - The jar is about 175 MB because it carries the FSR, XeSS, DLSS and DXC libraries (they are copied to
dx12gl/automatically).
Licenses and credits
- APIRender: LGPL-3.0-only. Author: thetiranix.
- glslang (BSD-3-Clause and others) and SPIRV-Cross (Apache-2.0): linked inside the mod's libraries.
- Vulkan headers (© The Khronos Group Inc., Apache-2.0 or MIT): used to build the Vulkan renderer. The Vulkan loader (
vulkan-1.dll) is your system's own, not included. - AMD FidelityFX / FSR 3 (MIT license, © Advanced Micro Devices, Inc.), AMD Anti-Lag 2 (MIT).
- Intel XeSS, XeSS Frame Generation and XeLL (Intel license, © Intel Corporation).
- NVIDIA DLSS (NVIDIA RTX SDK license, © NVIDIA Corporation) and NVIDIA NVAPI / Reflex (MIT). DLSS is a trademark of NVIDIA.
- Microsoft DirectX Shader Compiler v1.9.2609 (
dxcompiler.dll: LLVM/NCSA with exception;dxil.dll: Microsoft software license terms; source: https://github.com/microsoft/DirectXShaderCompiler). Included unmodified, in binary form only, and by using this mod you accept their terms for those two files (among others: use on Windows only). - The full license texts are inside the
.jar, in thelicenses/folder. Windows libraries (d3d12.dll,d3d11.dll,dxgi.dll,d3dcompiler_47.dll) are not included: they are the system's own. - This mod is not an official product of, nor endorsed by, Minecraft, Mojang, Microsoft, Khronos, NVIDIA, AMD or Intel. Minecraft is a trademark of Mojang AB. Vulkan is a registered trademark of The Khronos Group Inc.
MADE IT AND OPTIMIZED FOR https://www.curseforge.com/minecraft/modpacks/path-of-ascension modpack
It can contain some bugs.
Project description from CurseForge.
Pick your setup
APIRender by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.19.2
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
APIRender versions and loaders
apirender-4.0.0Dev-fabric-1.20.1.jar
30 Nov 2026
apirender-4.0.0Dev-forge-1.19.2.jar
30 Nov 2026
apirender-4.0.0Dev.jar
30 Nov 2026
apirender-4.0.0r-fabric-1.20.1.jar
30 Nov 2026
apirender-4.0.0r-forge-1.19.2.jar
30 Nov 2026
apirender-4.0.0r.jar
30 Nov 2026
Looking for an older file? The official CurseForge project page is in Resources.