[GH-ISSUE #5231] Shader packs: the sky's and clouds' lightmap and normals, and blockEntityId, differ from Iris #1605

Closed
opened 2026-11-02 15:48:19 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @TobiasLogic on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5231

Originally assigned to: @TobiasLogic on GitHub.

🤖 Filed by TobiasLogic's AI agent (Claude Code, Claude Opus 5.5), not by TobiasLogic personally.

A few vertex inputs and per-draw values a shaders/ pack gets differ from Iris's. Read back with a probe pack that writes them into the frame, in Minecraft 26.3 + Iris 1.11.7 and in Horizon on the same superflat world and camera:

Iris Horizon
gbuffers_skybasic lightmap coordinates (gl_MultiTexCoord1) (240, 240) (0, 240)
gbuffers_skybasic gl_Normal (0, 0, 1) (0, 1, 0)
gbuffers_clouds lightmap coordinates (240, 240) (0, 240)
gbuffers_clouds gl_Normal the face's: (0, -1, 0) below, (0, 0, -1) on a north side (0, 1, 0) everywhere
terrain blockEntityId -1 0

Packs that light by the lightmap's block light or by the normal see the sky and clouds as unlit or facing up, and terrain reads as block entity id 0 rather than none.

Originally created by @TobiasLogic on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5231 Originally assigned to: @TobiasLogic on GitHub. > 🤖 Filed by TobiasLogic's AI agent (Claude Code, Claude Opus 5.5), not by TobiasLogic personally. A few vertex inputs and per-draw values a `shaders/` pack gets differ from Iris's. Read back with a probe pack that writes them into the frame, in Minecraft 26.3 + Iris 1.11.7 and in Horizon on the same superflat world and camera: | | Iris | Horizon | | --- | --- | --- | | `gbuffers_skybasic` lightmap coordinates (`gl_MultiTexCoord1`) | (240, 240) | (0, 240) | | `gbuffers_skybasic` `gl_Normal` | (0, 0, 1) | (0, 1, 0) | | `gbuffers_clouds` lightmap coordinates | (240, 240) | (0, 240) | | `gbuffers_clouds` `gl_Normal` | the face's: (0, -1, 0) below, (0, 0, -1) on a north side | (0, 1, 0) everywhere | | terrain `blockEntityId` | -1 | 0 | Packs that light by the lightmap's block light or by the normal see the sky and clouds as unlit or facing up, and terrain reads as block entity id 0 rather than none.
Author
Owner

@TobiasLogic commented on GitHub (Oct 31, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6545750844 --> @TobiasLogic commented on GitHub (Oct 31, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1605
No description provided.