From e0bb0881e845f5df7bf7afd5823acda5b7cce95f Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 27 Oct 2026 22:36:57 +0100 Subject: [PATCH] item frames: glow frame map light is block coordinate 210, as vanilla's 15728850 15728850 is 0xF000D2: sky coordinate 240 and block coordinate 210, which the packed light here stores as 240 | 210 << 8 (208 was 13 * 16). Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/frames.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/horizon-client/src/game/frames.rs b/crates/horizon-client/src/game/frames.rs index f347e8151..99e82cf6d 100644 --- a/crates/horizon-client/src/game/frames.rs +++ b/crates/horizon-client/src/game/frames.rs @@ -429,8 +429,9 @@ impl Game<'_> { if let Some(id) = map { // ItemFrameRenderer: the map fills the face, in 90-degree steps. let depth = if f.invisible { 0.5 } else { 0.4375 }; - // A glow frame's map is 15728850 (sky 15, block 13), not full bright. - let item_light = if f.glow { 240 | 208 << 8 } else { packed }; + // A glow frame's map is 15728850 = 0xF000D2 (sky coordinate 240, + // block coordinate 210), not full bright. + let item_light = if f.glow { 240 | 210 << 8 } else { packed }; let m = pose * glam::DMat4::from_translation(glam::DVec3::new(0.0, 0.0, depth)) * glam::DMat4::from_rotation_z(