OptiFine shaders

On a build that supports shaders, open Options → Video Settings → Shaders → Shaders Folder. Add the pack ZIP, select it and click Done. For Fabric, use Iris.

Choose a route for the effect you want

For Minecraft Java, check that the exact OptiFine JAR supports shaders before opening Video Settings. If your setup uses Iris, match its version to the game and check the Sodium dependency on the Iris downloads page.

All guides in this topic