Shaders always cost some frames, but you can keep them playable. The foundation is Iris for shaders running on top of Sodium for performance, which is far faster than the old way. Then you pick a lighter pack and trim the most expensive effects. Both Iris and Sodium run alongside Opal, so a shader-lit game and a full client live on the same setup.
- Iris on top of Sodium is the single most important step for playable shaders.
- A lighter pack and trimmed effects recover most of the lost frames.
- Iris and Sodium both run with Opal; only Lithium is incompatible.
- Keep render distance moderate; shaders multiply its cost.
Step 1: Use Iris with Sodium
Install Sodium
Sodium is the fast renderer that does the heavy lifting. Put the Fabric loader and Fabric API in first, then drop Sodium in your mods folder. It runs fine alongside Opal.
Add Iris
Iris runs shader packs and is built to sit on top of Sodium, so you keep the framerate you just gained. This combination is the whole trick.
Step 2: Pick a lighter pack
Heavy realistic packs cost the most. A balanced pack, or a low profile of a heavier one, recovers a lot of frames while keeping most of the look.
Step 3: Trim the expensive effects
Inside the shader's settings, the big costs are usually:
- Volumetric lighting and fog.
- Reflections, screen-space or water.
- Shadow resolution and distance.
Lowering these keeps most of the look for a fraction of the cost.
Step 4: Mind render distance
Shaders multiply the cost of every chunk drawn, so a high render distance hurts twice. Keep it moderate.
Opal users
Sodium and Iris both run with Opal, so you can have shaders and the client at once. Lithium is the only common mod that does not work with Opal, so leave it out and let Sodium handle performance.
Where Opal fits
Opal is a Fabric mod for Minecraft 1.21.10 and installs into the same mods folder as Sodium and Iris. You get a shader-lit world plus a full client: 200+ features, a glass UI, and a scripting engine. The glass interface is built to look right over a shader-lit game, so the two complement each other rather than fight. Keep Sodium in for headroom and leave Lithium out.
FAQ
Sodium's fast renderer does the heavy lifting and Iris adds shaders on top, rather than the older single-jar approach.
Yes. Both run alongside Opal. Only Lithium is not compatible with Opal.
Shadow distance and resolution, plus volumetric lighting. Lower those first.