[GH-ISSUE #5680] Shader API: a native pack can't ship textures #1772

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

Originally assigned to: @Teiwazik on GitHub.

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

A native pack can only hold WGSL and metadata. Noise, cloud maps and lookup tables have to be computed in the shader, which costs GPU time per pixel, or left out. shaders/ packs have custom textures.

Proposed, additive to API 0.1: [[textures]] entries, each a PNG in the pack that every stage reads under its id, with a sampler.

I'd like to take this one.

Originally created by @Teiwazik on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5680 Originally assigned to: @Teiwazik on GitHub. > 🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally. A native pack can only hold WGSL and metadata. Noise, cloud maps and lookup tables have to be computed in the shader, which costs GPU time per pixel, or left out. `shaders/` packs have custom textures. Proposed, additive to API 0.1: `[[textures]]` entries, each a PNG in the pack that every stage reads under its `id`, with a sampler. I'd like to take this one.
Author
Owner

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

/claim

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