On Fabric the clean way to run shaders is Iris, which loads shader packs and is built to run with Sodium so you keep your framerate. Install the two mods, drop a pack in a folder, pick it in video settings. That is the whole job. No OptiFine required.
- Iris runs shaders on Fabric, no OptiFine needed.
- Pair Iris with Sodium so shaders cost you fewer frames.
- Shader packs live in the
shaderpacksfolder; pick one in video settings. - Opal runs in the same folder, so you can have shaders and a full client.
Install shaders
Install Iris and Sodium
Install the Fabric loader and the Fabric API, then add Iris and Sodium to your mods folder. Iris runs the shaders, Sodium keeps the FPS up. They are designed to work together.
Add a shader pack
Download a shader pack (it comes as a single file) and put it in the shaderpacks folder inside your Minecraft directory. If that folder is not there yet, launch the game once with Iris installed and it gets created for you.
Select it in game
Open Video Settings, then the shader packs screen, and pick the pack you added. It applies right away, and you can swap packs from the same screen.
If your FPS drops too far
Lower your render distance or switch to a lighter pack before blaming the mods. Heavy shaders cost real frames, and a couple of chunks of render distance often buys back what you need.
Picking a pack
- Lighter packs cost less FPS and still look good. Start there if your machine is modest.
- Heavier packs add fancy water, shadows, and volumetric lighting, at a real frame cost.
- Match the pack to your GPU, not to the screenshots.
Running shaders with a client
Because Iris and Sodium are Fabric mods, anything else built as a Fabric mod shares the folder, including Opal. So a shader-lit game and a full utility client are not an either-or. Opal targets Minecraft 1.21.10 and loads next to your shader stack, so you can run the looks and the feature set together.
FAQ
Not on Fabric. Iris loads shader packs without OptiFine.
They cost frames, but Iris with Sodium offsets a lot. Pick a lighter pack for more headroom.
In the shaderpacks folder in your Minecraft directory.
Yes. Opal, Iris, and Sodium share the same folder, so shaders and a full client run together.