[GH-ISSUE #5818] Shader API: a native pack can't read a resource pack's LabPBR maps #1823

Closed
opened 2026-11-02 15:49:55 +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/5818

Originally assigned to: @Teiwazik on GitHub.

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

Resource packs commonly ship LabPBR maps beside a block texture (stone_n.png, stone_s.png). A native (WGSL) pack's material stage has no way to read them, so it can't use a pack's normals, smoothness, metals or emission.

Proposed: load the maps with the sprites, and give the material prelude functions that read them, returning LabPBR's neutral values when a texture has none.

Originally created by @Teiwazik on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5818 Originally assigned to: @Teiwazik on GitHub. > 🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally. Resource packs commonly ship LabPBR maps beside a block texture (`stone_n.png`, `stone_s.png`). A native (WGSL) pack's material stage has no way to read them, so it can't use a pack's normals, smoothness, metals or emission. Proposed: load the maps with the sprites, and give the material prelude functions that read them, returning LabPBR's neutral values when a texture has none.
Author
Owner

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

/claim

<!-- gh-comment-id:6556002256 --> @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#1823
No description provided.