Light glow frame maps at 15728850

A map in a glow item frame is drawn at light 15728850 (sky 15, block 13), not full bright, as ItemFrameRenderer does.
This commit is contained in:
Kacpherek
2026-10-27 21:57:14 +01:00
parent 52f3dcc5ef
commit 5b41d9ebf3
+2 -1
View File
@@ -429,7 +429,8 @@ 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 };
let item_light = if f.glow { 240 | 240 << 8 } else { packed };
// 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 };
let m = pose
* glam::DMat4::from_translation(glam::DVec3::new(0.0, 0.0, depth))
* glam::DMat4::from_rotation_z(