[GH-ISSUE #5919] Shader API: [[materials]] can't name a block, or move glass into the translucent pass #1884

Closed
opened 2026-11-02 15:50:22 +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/5919

Originally assigned to: @Teiwazik on GitHub.

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

[[materials]] gives an id by sprite name. Two things a pack needs are missing:

  • Naming a block whose sprite doesn't share its name, or a block in one state (grass_block:snowy=true). A sprite-only list has to spell out every texture of every model.
  • Plain glass is cut out with the solid terrain. A pack that tints it and makes it reflective needs it in the translucent pass, with input.translucent.

Proposed: blocks and translucent on [[materials]].

Originally created by @Teiwazik on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5919 Originally assigned to: @Teiwazik on GitHub. > 🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally. `[[materials]]` gives an id by sprite name. Two things a pack needs are missing: - Naming a block whose sprite doesn't share its name, or a block in one state (`grass_block:snowy=true`). A sprite-only list has to spell out every texture of every model. - Plain glass is cut out with the solid terrain. A pack that tints it and makes it reflective needs it in the translucent pass, with `input.translucent`. Proposed: `blocks` and `translucent` on `[[materials]]`.
Author
Owner

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

/claim

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