diff --git a/crates/horizon-client/src/gfx.rs b/crates/horizon-client/src/gfx.rs index e951f4d58..59a3b5d03 100644 --- a/crates/horizon-client/src/gfx.rs +++ b/crates/horizon-client/src/gfx.rs @@ -3402,10 +3402,14 @@ impl Renderer { }; self.uploads .buffer(&mut encoder, &self.globals, 0, bytemuck::bytes_of(&globals)); + // Vanilla multiplies the bob into the projection (GameRenderer.renderLevel); + // Iris moves it into the model-view for packs (MixinModelViewBobbing), whose + // depth reconstruction expects a plain perspective `gbufferProjection`. + // `projection * view` is the same either way. let pack_uniform = shader_pack_uniform( frame, - view, - world_projection(frame.fov_degrees, aspect, frame.depth_far) * frame.bob, + frame.bob * view, + world_projection(frame.fov_degrees, aspect, frame.depth_far), sun, fog_color, globals.fog,