Description
Info
Mojang rewrote the lightmap engine to use UBO's in 1.21.9, switching from a fixed cubic curve light renderer to a more customizable tint based model. While this is great for creators, it unfortunately changed the default color and brightness curve in vanilla we've been used to since Beta 1.8.
This mod uses a hybrid approach to restore the old lightmap without breaking the new features introduced with it. It nearly 1:1 replicates the old curve and colors, while keeping end flashes and data driven light tinting from the new engine. It is also compatible with all major optimization mods like Sodium.
This mod does NOT reintroduce MC-225088, nor does it break night vision, wither dimming, nether & end colors, etc. Those have been properly fixed or reimplemented in this.
Usage
This mod is completely client sided. It uses mixins and a modified lightmap.vsh to achieve this. The resource pack is bundled in at runtime, and will automatically load. Without the pack enabled, the lighting won't be correct.
Report any issues or discrepancies to https://github.com/cintlep/OldLighter/issues
This mod is licensed under GPL-3.0-only.
NeoForge - Does not require any additional dependencies. Drop the file into your mods folder, and it should run out of the box. If lighting is strange or incorrect, make sure your Mod Resources are enabled in resource packs.
Fabric - Requires Fabric API minimum 0.145.1 from 26.1. Newer Fabric API versions will still be compatible. Drop the file into your mods folder, and it should run out of the box. If lighting is strange or incorrect, make sure your Mod Resources are enabled in resource packs.
