From 012a3cf9081f901dd6aa46142baafe4053ef3752 Mon Sep 17 00:00:00 2001 From: Kacpherek Date: Wed, 28 Oct 2026 06:10:38 +0100 Subject: [PATCH] Use the End's ambient light for entity shadows DimensionType.ambientLight is 0.25 in the End; shadows used 0, so they were weaker there. --- crates/horizon-client/src/game.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crates/horizon-client/src/game.rs b/crates/horizon-client/src/game.rs index c97af3a47..990dac12b 100644 --- a/crates/horizon-client/src/game.rs +++ b/crates/horizon-client/src/game.rs @@ -8005,7 +8005,12 @@ impl Game<'_> { .then(|| self.gui.atlas.sprites.get("misc/shadow").copied()) .flatten(); if let Some(sprite) = shadow_sprite { - let ambient = if self.dim == Dim::Nether { 0.1 } else { 0.0 }; + // DimensionType.ambientLight: the_nether 0.1, the_end 0.25. + let ambient = match self.dim { + Dim::Nether => 0.1, + Dim::End => 0.25, + Dim::Overworld => 0.0, + }; let darken = self.sky_darken(); let a = alpha; let lerp = |p: Vec3, q: Vec3| {