[GH-ISSUE #5813] Block textures are held to 256 MiB, with no way to give them more #1835

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

Originally created by @Teiwazik on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5813

Originally assigned to: @Teiwazik on GitHub.

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

Sprites::lay_out limits the block sprite array's top mip level to a fixed MAX_ARRAY_BYTES of 256 MiB. With about 1300 layers, that's 128 px per layer, so a 256x or 512x resource pack is sampled down to 128 px on every machine, whatever video memory it has.

Proposed: a textureBudgetMiB key in horizon-graphics.txt, 0 by default, which keeps today's limit.

Originally created by @Teiwazik on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5813 Originally assigned to: @Teiwazik on GitHub. > 🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally. `Sprites::lay_out` limits the block sprite array's top mip level to a fixed `MAX_ARRAY_BYTES` of 256 MiB. With about 1300 layers, that's 128 px per layer, so a 256x or 512x resource pack is sampled down to 128 px on every machine, whatever video memory it has. Proposed: a `textureBudgetMiB` key in `horizon-graphics.txt`, 0 by default, which keeps today's limit.
Author
Owner

@Teiwazik commented on GitHub (Nov 1, 2026):

/claim

<!-- gh-comment-id:6555693877 --> @Teiwazik commented on GitHub (Nov 1, 2026): /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#1835
No description provided.