Back to mods
Cached Shadows project artwork

CurseForge · Minecraft mod

Cached Shadows

A performance patch for shaders: the terrain's shadows are kept between frames instead of drawn again every frame.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Cached Shadows release should I use?

Updated 5 days ago
Latest stable file Cached Shadows 1.1.2 (NeoForge 1.21.1)
Game version 1.21.1
Loader NeoForge

Cached Shadows 1.1.2 (NeoForge 1.21.1) targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.

Where it goes

Is Cached Shadows required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Cached Shadows 1.1.2 (NeoForge 1.21.1) need?

Cached Shadows 1.1.2 (NeoForge 1.21.1). Change the file and its required mods may change too.

All 2 required mods have matching files

Install Iris Shaders, Sodium first. We found matching files for this game-version and loader setup.

Iris Shaders Needed by Cached Shadows 1.1.2 (NeoForge 1.21.1)
required
Matching file found Matched file: Iris 1.8.14 Beta 1 for NeoForge 1.21.1
Sodium Needed by Cached Shadows 1.1.2 (NeoForge 1.21.1)
required
Matching file found Matched file: Sodium 0.8.13 for NeoForge 1.21.1

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Cached Shadows without breaking your instance.

Built for Cached Shadows 1.1.2 (NeoForge 1.21.1). Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Cached Shadows 1.1.2 (NeoForge 1.21.1). It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Iris Shaders, Sodium first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Cached Shadows 1.1.2 (NeoForge 1.21.1). It opens that exact file at the source.

About this project

What does Cached Shadows add?

Cached Shadows

A performance patch for shader packs. They draw the whole terrain again from the sun every frame to make its shadows, although those only change when you move a good way, the sun turns or a block changes. Cached Shadows keeps the terrain's shadow map between frames instead. Entities, block entities and water still cast fresh shadows every frame.

How often

  • A fresh map every 2nd, 4th (default) or 8th frame, or only when something changed.
  • Always a fresh map when you moved more than two blocks, the sun turned, or a chunk near you changed.
  • The kept map is lined up exactly with where you stand, so shadows don't slide.
  • Works with any Iris shader pack that draws terrain in its shadow pass, and with Distant Horizons' LOD shadows.

Speed

Measured in a Wisp and Distant Horizons pack on an RTX 5060 while walking: 101 fps without, 136 fps with the default setting, 156 fps when only redrawn when needed. F3 shows what the shadow pass costs and how many passes were skipped.

Settings

Mods > Cached Shadows > Config, and on Sodium's video settings screen.

Requirements

Minecraft 1.21.1, Java 21, NeoForge 21.1. Client only. Needs Iris 1.8 and Sodium; without them it does nothing. Distant Horizons is optional.


Join the Discord Support me on Patreon

Support me and get early access on my Patreon.

Related mods

Iris Shaders Sodium Wisp Shaders Temporal Upscaling Better Distant Horizons

NeoForge 1.21.1. Free to use in modpacks.

Project description from CurseForge.

Pick your setup

Cached Shadows by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Cached Shadows versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.