From f2856845f43b812191bd561b6237d9ca2a1fd8a1 Mon Sep 17 00:00:00 2001 From: Kacpherek Date: Mon, 26 Oct 2026 22:40:27 +0100 Subject: [PATCH 1/2] Stop End flashes lighting the scene when Hide Lightning Flashes is on Vanilla only adds the End flash to the sky light factor while the option is off. Horizon added it every time. --- crates/horizon-client/src/game/end.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/horizon-client/src/game/end.rs b/crates/horizon-client/src/game/end.rs index 32d5113b0..b34a86183 100644 --- a/crates/horizon-client/src/game/end.rs +++ b/crates/horizon-client/src/game/end.rs @@ -253,9 +253,10 @@ impl Game<'_> { out } - /// LightmapRenderStateExtractor: End flashes add to the sky light factor. + /// LightmapRenderStateExtractor: End flashes add to the sky light factor + /// unless Hide Lightning Flashes is on (the sky sprite is not gated). pub(super) fn end_flash_sky(&self, sky: &mut horizon_client::environment::Sky, partial: f64) { - if self.dim == Dim::End { + if self.dim == Dim::End && !self.settings.file.bool("hideLightningFlashes") { sky.sky_light_factor += self.end.flash.intensity(partial as f32); } } From 370444eed09d8ea3dccf37887820278c8e2c0a0e Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:29:50 +0100 Subject: [PATCH 2/2] Dim the End flash's light under a boss bar's world fog LightmapRenderStateExtractor adds a third of the flash's intensity to the sky factor while the boss overlay creates world fog (the dragon fight). Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/end.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/crates/horizon-client/src/game/end.rs b/crates/horizon-client/src/game/end.rs index b34a86183..7901ce258 100644 --- a/crates/horizon-client/src/game/end.rs +++ b/crates/horizon-client/src/game/end.rs @@ -254,10 +254,16 @@ impl Game<'_> { } /// LightmapRenderStateExtractor: End flashes add to the sky light factor - /// unless Hide Lightning Flashes is on (the sky sprite is not gated). + /// unless Hide Lightning Flashes is on (the sky sprite is not gated), a + /// third of it under a boss bar's world fog. pub(super) fn end_flash_sky(&self, sky: &mut horizon_client::environment::Sky, partial: f64) { if self.dim == Dim::End && !self.settings.file.bool("hideLightningFlashes") { - sky.sky_light_factor += self.end.flash.intensity(partial as f32); + let intensity = self.end.flash.intensity(partial as f32); + sky.sky_light_factor += if self.boss_overlay.should_create_world_fog() { + intensity / 3.0 + } else { + intensity + }; } }