OptiFine alternatives for Fabric, Forge and NeoForge

Use Sodium for rendering and Iris for shaders on supported Fabric or NeoForge versions. For Forge on Minecraft 1.20.1, use Embeddium for rendering and Oculus for shaders.

Sunlight across a terraced riverbank and a path under cuboid trees.

On Fabric or NeoForge, use Sodium for rendering and add Iris for shader packs. Choose Lithium for game logic and add the individual mods your pack needs for connected textures, dynamic lights or zoom. Match the Minecraft version and loader on each file, then follow the dependencies for that exact release.

On Forge for Minecraft 1.20.1, use Embeddium for rendering and Oculus for shaders. For Minecraft 26.3, follow the Iris and Sodium pair for your loader.

For Bedrock Edition, choose graphics tools documented for that edition; the loader and JAR choices below are for Minecraft: Java Edition.

Keep the loader fixed while choosing

On the Iris release page, check Compatibility for the Minecraft version and loader. Look for the Sodium dependency under Required content. If Modrinth shows Unavailable version, use the Sodium link under the same loader in the table. These examples are for Minecraft 26.2.

Two Iris 1.11.4 Compatibility sections for Minecraft Java Edition 26.2, one listing Fabric and one listing NeoForge.
Both Iris 1.11.4 files list Minecraft 26.2. Match the Platform label to your loader.
FeatureFabricNeoForge
RenderingSodium 0.9.2 for FabricSodium 0.9.2 for NeoForge
ShadersIris 1.11.4 for Fabric with the Sodium file aboveIris 1.11.4 for NeoForge with the Sodium file above
Game logicLithium 0.25.3 for FabricLithium 0.25.3 for NeoForge
Connected texturesContinuity 3.0.1The 26.2 Continuity file lists Fabric and Quilt.
Dynamic lightsLambDynamicLights 4.12.4. Follow your loader's instructions for dependencies.
ZoomZoomify 2.17.1. Check the requirements for your loader.

Keep a working Forge pack on the loader it requires. On Minecraft 1.20.1 with Forge, the Oculus 1.8.0 release gives you a shader option and names Embeddium as a required project. The Embeddium 0.3.31 release for 1.20.1 lists Forge. Check the pack's requirements before adding either file. For a plain Java Edition setup, start with the loader supported by the mods you want.

Rendering, shaders and game logic are separate jobs

Sodium: the renderer

Sodium replaces the client's rendering engine. Its project has Fabric, NeoForge and Quilt labels, but those labels don't mean every historical release supports every loader. For Minecraft 26.2, the file records include sodium-fabric-0.9.2+mc26.2.jar and sodium-neoforge-0.9.2+mc26.2.jar. If this is a multiplayer setup, check what a client-side mod changes and which rules still come from the server.

Choose Sodium when your goal is rendering. If you use a resource pack that depends on OptiFine format features, check the features it needs before switching. The Sodium vs OptiFine comparison explains that choice.

Iris: shader-pack loading

Iris is intended to load existing OptiFine shader packs. Its exact 26.2 release metadata pairs Iris 1.11.4 with Sodium 0.9.2 for the same loader. The Fabric pair is iris-fabric-1.11.4+mc26.2.jar with the Fabric Sodium file; NeoForge has its own Iris and Sodium files.

On Minecraft 26.3, Iris 1.11.7 for Fabric and Iris 1.11.7 for NeoForge each list a Sodium 0.9.2 file for that loader. Select the dependency from your Iris release page. The Sodium version list also offers newer files for 26.3, including the 0.9.3 release for Fabric.

Forge 1.20.1 pairs Embeddium 0.3.31 with Oculus 1.8.0. Fabric and NeoForge for 26.3 each pair Sodium 0.9.2 with Iris 1.11.7.
Use the file for your loader in each row. On Minecraft 26.3, Iris lists a separate Sodium dependency for Fabric and NeoForge.

Lithium: game logic

Lithium targets game logic, including systems such as physics, mob AI and block ticking. It is useful in single-player games and on servers; it doesn't replace Iris's shader loading. Its 26.2 files include separate Fabric and NeoForge releases numbered 0.25.3. Pick it for that job rather than assuming every optimization mod changes the same part of the game.

Add the visual feature that is still missing

A resource pack that uses several OptiFine features needs those features checked separately. Connected block textures do not establish support for custom entity models, custom skies or every other pack format. Add only what the pack needs; neither Sodium alone nor the list above promises full feature parity.

Protect the working instance before switching

For a clean setup on the same loader, close the game and choose Copy on the original Prism instance. In the Copy Instance dialog, select the saves or packs you need and clear Copy mods before adding a new mod set. Leave symbolic and hard links off so that you can test the new files independently.

Prism Copy Instance dialog with Copy shader packs selected and Copy mods cleared.
Select the files you need in the new instance. Clear Copy mods for a clean mod set.

When moving from Forge to Fabric or NeoForge, use Add Instance to select a different loader. Keep the original instance available. Test the replacement with its own required mods and a world that can run with the new mod list.