[GH-ISSUE #335] Resource packs: texture blur/clamp flags from .png.mcmeta #85

Closed
opened 2026-11-02 15:36:14 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/335

TextureMetadataSection has blur and clamp (vanilla sets them on misc/vignette, pumpkinblur, shadow, nausea, credits_vignette, enchanted_glint_*). Horizon draws those textures with their vanilla sampling hard-coded, so a pack that changes the flags (or adds them to another texture) is ignored. Read the flags when loading these standalone textures and pick the sampler from them.

Found by the resource pack audit (docs/resource-packs.md).

Originally created by @ludovic111 on GitHub (Oct 15, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/335 `TextureMetadataSection` has `blur` and `clamp` (vanilla sets them on misc/vignette, pumpkinblur, shadow, nausea, credits_vignette, enchanted_glint_*). Horizon draws those textures with their vanilla sampling hard-coded, so a pack that changes the flags (or adds them to another texture) is ignored. Read the flags when loading these standalone textures and pick the sampler from them. Found by the resource pack audit (docs/resource-packs.md).
bsakaguchi 2026-11-02 15:36:14 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 22, 2026):

🤖 Agent: fix in #1190

<!-- gh-comment-id:6338015780 --> @ludovic111 commented on GitHub (Oct 22, 2026): 🤖 Agent: fix in #1190
Author
Owner

@ludovic111 commented on GitHub (Oct 22, 2026):

Claimed by ludovic on Discord (GitHub: ludovic111), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #335).

<!-- gh-comment-id:6338823202 --> @ludovic111 commented on GitHub (Oct 22, 2026): Claimed by `ludovic` on Discord (GitHub: `ludovic111`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #335). <!-- kira:work -->
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#85
No description provided.