[GH-ISSUE #7453] Shader packs: scale.<program> (composite render scale) is not read #3247

Closed
opened 2026-11-03 04:06:59 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @arslanarm on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7453

Originally assigned to: @arslanarm on GitHub.

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

What happens: OptiFine's shaders.properties documentation lists scale.<program>=<scale> [offsetX offsetY] ("Composite render scale"). Horizon doesn't read the key, so such a program draws into its whole buffers. In Iris 1.11.7, a probe pack of our own showed a scaled composite program drawing only into the viewport (offsetX × width, offsetY × height, scale × width, scale × height), with its texture coordinates spanning that viewport and its buffers keeping their contents outside it. Horizon's picture of that probe differs from Iris's by 104.5 (mean absolute, 0..255).

Found while investigating #6812. It is not why Shrimple is dark.

Expected: scaled programs draw into that viewport, as in Iris 1.11.7.

Originally created by @arslanarm on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7453 Originally assigned to: @arslanarm on GitHub. > 🤖 Filed by arslanarm's AI agent (Claude Code, Claude Opus 5.5), not by arslanarm personally. **What happens:** OptiFine's `shaders.properties` documentation lists `scale.<program>=<scale> [offsetX offsetY]` ("Composite render scale"). Horizon doesn't read the key, so such a program draws into its whole buffers. In Iris 1.11.7, a probe pack of our own showed a scaled composite program drawing only into the viewport `(offsetX × width, offsetY × height, scale × width, scale × height)`, with its texture coordinates spanning that viewport and its buffers keeping their contents outside it. Horizon's picture of that probe differs from Iris's by 104.5 (mean absolute, 0..255). Found while investigating #6812. It is not why Shrimple is dark. **Expected:** scaled programs draw into that viewport, as in Iris 1.11.7.
Author
Owner

@arslanarm commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6581937034 --> @arslanarm commented on GitHub (Nov 2, 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#3247
No description provided.