Alfheim Lighting Engine

Alfheim is a lighting engine replacement for Minecraft, optimized for performance and fixing many bugs
https://bugs.mojang.com/browse/MC-92

https://bugs.mojang.com/browse/MC-92

https://bugs.mojang.com/browse/MC-92

https://bugs.mojang.com/browse/MC-92

https://bugs.mojang.com/browse/MC-92

https://bugs.mojang.com/browse/MC-92

https://bugs.mojang.com/browse/MC-104532

https://bugs.mojang.com/browse/MC-104532

https://bugs.mojang.com/browse/MC-249343

https://bugs.mojang.com/browse/MC-249343

Description

Buy Me a Coffee Discord

Alfheim

Alfheim is a fork (or a rewrite depending on your views on the ship of Theseus) of Hesperus which is a fork of Phosphor

What benefit does this have over Phosphor/Hesperus?

Alfheim aims to be compatible in all scenarios, and if for any reasons a something is fundamentally incompatible, a warning will tell you what is happening instead of crashing with hardly any information.

Alfheim also has a lot of optimizations of all sizes over Phosphor/Hesperus it uses slightly less memory overall.

Alfheim also improves client side performance unlike Phosphor/Hesperus, by reducing by lighting related block updates by a factor of 27. To improve client side performance, Alfheim also limits how much lighting updates are performed each frame. In addition, Phosphor/Hesperus unnecessarily forces lights to be updates before each frame which Alfheim doesn't.

Alfheim also fixes more vanilla lighting issues than Phosphor/Hesperus, here is a list of all fixes and where they come from:

Fixed in Phosphor/Hesperus:

Fixed in Alfheim:

Why not just PR to Hesperus?

Fair question, the reason is simple, Alfheim compared to Hesperus isn't just a fork to fix bugs, it is my continuation of it. And as seen in the past, my continuations of mods aren't just modifying some things, they are pretty invasive and basically change everything internally.

It wasn't this way at first, I wanted to PR some stuff to Hesperus but after doing parts of it, it became clear that it had grown bigger than a PR. So then I decided to do Alfheim, for now it includes optimizations, bug fixes and compatibility fixes, but later down the line I have more plans.


BisectHostingPromoBanner

Want to have your own mod or support me?

If you're looking for a mod but don't have the development skills or time, consider commissioning me! My commissions are currently open and I would be happy to create a custom mod to fit your needs as long as you provide assets.

Commissions

You can also support me on a monthly basis by becoming a member. To thank you will have the possibility to access exclusive post and messages, Discord channel for WIP content, and even access to unreleased Prototypes or WIP Projects.

Membership

You can also buy me a hot chocolate.

The Alfheim Lighting Engine Team

profile avatar
  • 37
    Followers
  • 12
    Projects
  • 7.2M
    Downloads

Hi, I'm Desoroxxx. My name is Luna Mira Lage, I play games and create things. All My Info: https://github.com/Desoroxxx My Socials: https://solo.to/desoroxxx

Donate

More from DesoroxxxView all

  • Red Core project image

    Red Core

    • 3.3M
    • Mods

    Red Core is the foundational library for Red Studio projects and associated projects.

    • 3.3M
    • January 13, 2026
    • Mods
  • OptiNotFine project image

    OptiNotFine

    • 11.2K
    • Mods

    Fixing OptiFine, until something better comes.

    • 11.2K
    • January 9, 2026
    • Mods
  • Modern Warfare Cubed project image

    Modern Warfare Cubed

    • 850.4K
    • Mods

    Modern Warfare Cubed is a fork of the popular Vic's Modern Warfare Mod which is now discontinued aiming to improve and expand upon the experience.

    • 850.4K
    • December 19, 2025
    • Mods
    • +2
  • Valkyrie project image

    Valkyrie

    • 269.8K
    • Mods

    As the Valkyries' whispers guide us, we carve our path to a Valhalla of optimized Minecraft gameplay.

    • 269.8K
    • December 19, 2025
    • Mods
  • Red Core project image

    Red Core

    • 3.3M
    • Mods

    Red Core is the foundational library for Red Studio projects and associated projects.

    • 3.3M
    • January 13, 2026
    • Mods
  • OptiNotFine project image

    OptiNotFine

    • 11.2K
    • Mods

    Fixing OptiFine, until something better comes.

    • 11.2K
    • January 9, 2026
    • Mods
  • Modern Warfare Cubed project image

    Modern Warfare Cubed

    • 850.4K
    • Mods

    Modern Warfare Cubed is a fork of the popular Vic's Modern Warfare Mod which is now discontinued aiming to improve and expand upon the experience.

    • 850.4K
    • December 19, 2025
    • Mods
    • +2
  • Valkyrie project image

    Valkyrie

    • 269.8K
    • Mods

    As the Valkyries' whispers guide us, we carve our path to a Valhalla of optimized Minecraft gameplay.

    • 269.8K
    • December 19, 2025
    • Mods