What are you searching for?

Starlight (Fabric)

Starlight (Fabric)

Rewrites the light engine to fix lighting performance and lighting errors

download 12.5M Downloads · favorite 4,489 Followers · Updated 2 years ago
Fabric Optimization 1.17 1.17.1 1.18 1.18.1 1.18.2 +10 more

Versions

inventory_2
Starlight 1.1.3 1.20.4 (Fabric)

1.1.3+1.20.4 · 2 years ago · 123.45 KB

Release download
Fabric 1.20.4
inventory_2
Starlight 1.1.3 1.20.3 (Fabric)

1.1.3+1.20.3 · 2 years ago · 123.45 KB

Release download
Fabric 1.20.3
inventory_2
Starlight 1.1.3 1.20.2 (Fabric)

1.1.3+1.20.2 · 2 years ago · 123.45 KB

Release download
Fabric 1.20.2
inventory_2
Starlight 1.1.2 1.20.2 (Fabric)

1.1.2+1.20.2 · 2 years ago · 121.97 KB

Release download
Fabric 1.20.2
inventory_2
Starlight 1.1.2 1.20 - 1.20.1 (Fabric)

1.1.2+1.20 · 2 years ago · 124.38 KB

Release download
Fabric 1.20 1.20.1

About

Starlight

Fabric mod for rewriting the light engine to fix lighting performance and lighting errors.

Future updates past 1.20

Please see: https://gist.github.com/Spottedleaf/6cc1acdd03a9b7ac34699bf5e8f1b85c

This project is available as a part of Moonrise

Compatibility

Starlight can be installed either on the dedicated server or client. It is not required to be installed on both sides. If you have Starlight on the server, clients can use Vanilla/Phosphor/Starlight to connect. Likewise, if you have Starlight on the client, you can connect to Vanilla/Phosphor/Starlight servers.

Starlight cannot be installed with Phosphor, they are completely incompatible. Browsing through Starlight's Issue Tracker will show further mod incompatibilities. Starlight is a rather destructive light engine rewrite, so it should be expected to break mods more often.

Purpose

Starlight was developed for higher scale dedicated servers, as they suffered performance problems due to how ungodly slow the light engine was. The only solution was to create an extremely invasive mod which rewrote the entire light engine. I ported the mod to fabric so that I can update it during snapshots, and decided that publishing it for all users, especially client users, would be beneficial. However, it does have the downside of being an invasive mod: Being invasive didn't affect higher scale servers because they run on Bukkit.

Further reading on the technical details of how Starlight achieves its performance can be read here: TECHNICAL_DETAILS.md

Performance for 1.20:

Here are a few graphs showing performance in 2 areas on: Block editing at high y-levels, and normal block light updates:

Light engine time chunk generation Graph has been removed as a benchmark as it is invalid for 1.20. Starlight and Vanilla are close enough on 1.20 that this test is also useless. Block update at height graph Simple glowstone block update

Performance for 1.19.4 and below:

Here are a few graphs showing performance in 3 critical areas: Chunk generation, Block editing at high y-levels, and normal block light updates:

Light engine time chunk generation Graph Block update at height graph Simple glowstone block update

open_in_new View on Modrinth
Categories
Compatibility
Client: Optional Server: Optional
gavel LGPL-3.0-only

Conversation

What are your thoughts?

Related projects

Optimization
Sodium
Sodium

by jellysquid3

The fastest and most compatible rendering optimization mod for Minecraft. Now available for both NeoForge and Fabric!

download 117.8M
favorite 32,752
Decoration Optimization
Iris Shaders
Iris Shaders

by coderbot

A modern shader pack loader for Minecraft intended to be compatible with existing OptiFine shader packs

download 90.1M
favorite 23,748
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.0M
favorite 12,704
Optimization
Entity Culling
Entity Culling

by tr7zw

Using async path-tracing to hide Block-/Entities that are not visible

download 83.6M
favorite 13,745
lock Cookie consent

SkinMC uses cookies to provide functionality and features.