Kerria

Faster texture animation
When Kerria is disabled, texture animation consumes 40% of the frame time (dependent on the scenario.)

When Kerria is disabled, texture animation consumes 40% of the frame time (dependent on the scenario.)

When Kerria is enabled, texture animation only takes 3.24% of the frame time.

When Kerria is enabled, texture animation only takes 3.24% of the frame time.

Description

Kerria

Overview

Kerria is a mod that optimizes texture animations.

In vanilla Minecraft, texture animations are handled rather inefficiently. Each time a texture is updated, it is uploaded onto the atlas via the slow glTexSubImage2D, which involves CPU->GPU upload and may potentially incur a pipeline stall.

This mod adds two optimizations to reduce the performance impact of animated textures:

  • Texture Animation Cache. Instead of performing an upload each time, we can cache non-interpolated animated textures once they are uploaded to the GPU. When the texture is subsequently needed, it is applied with a very fast GPU-to-GPU copy.
  • Fast Texture Upload. Optimize texture upload performance with persistently mapped buffers and pixel buffer objects.

The optimizations can be configured through the Sodium/Embeddium video settings screen.

FAQs

Is this compatible with Sodium/Embeddium's "Animate Only Visible Textures" option?

Yes. That option improves performance by skipping uploading animated textures that are invisible, while this mod actually speeds up the process of uploading animated textures.

The Kerria Team

GrandArtisan tier frameprofile avatar
Owner
GrandArtisan tier icon
  • 21
    Followers
  • 9
    Projects
  • 15.3M
    Downloads

More from decceView all

  • Jasione project image

    Jasione

    • 1.2K
    • Mods

    Reduce GC pressure by safely eliminating Enum#values array cloning and memory allocation overhead through bytecode analysis

    • 1.2K
    • July 8, 2026
    • Mods
  • Ixeris project image

    Ixeris

    • 5.3M
    • Mods

    Buffered raw input and threaded event polling

    • 5.3M
    • July 7, 2026
    • Mods
  • Async Logger project image

    Async Logger

    • 391.3K
    • Mods

    Asynchronous logging and efficient filtering - performance improvements and utility for keeping your logs clean

    • 391.3K
    • July 2, 2026
    • Mods
    • +1
  • Gnetum project image

    Gnetum

    • 8.4M
    • Mods

    Distribute HUD updates over multiple frames to improve performance

    • 8.4M
    • June 24, 2026
    • Mods
  • Jasione project image

    Jasione

    • 1.2K
    • Mods

    Reduce GC pressure by safely eliminating Enum#values array cloning and memory allocation overhead through bytecode analysis

    • 1.2K
    • July 8, 2026
    • Mods
  • Ixeris project image

    Ixeris

    • 5.3M
    • Mods

    Buffered raw input and threaded event polling

    • 5.3M
    • July 7, 2026
    • Mods
  • Async Logger project image

    Async Logger

    • 391.3K
    • Mods

    Asynchronous logging and efficient filtering - performance improvements and utility for keeping your logs clean

    • 391.3K
    • July 2, 2026
    • Mods
    • +1
  • Gnetum project image

    Gnetum

    • 8.4M
    • Mods

    Distribute HUD updates over multiple frames to improve performance

    • 8.4M
    • June 24, 2026
    • Mods