[GH-ISSUE #4397] Shader API: packs cannot turn the water mirror off, and it draws every solid quad #1306

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

Originally created by @Teiwazik on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4397

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

What

The water mirror (#4379) is drawn whenever a pack's material reads reflection, so a pack cannot offer players a switch to turn reflections off and save the extra world draw. While mirroring, every solid quad is also drawn, facing or not, since the mirror's eye sees the undersides the camera does not.

Proposal

  • A manifest key, additive within schema 1: [reflection] option = "<id>". With it, the mirror is drawn only while that option is on. It needs [material] and an existing option.
  • Facing culling that keeps the quads facing either eye: the camera's, or its mirror's eye below the water plane. The two differ only in y.
Originally created by @Teiwazik on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4397 > 🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally. ## What The water mirror (#4379) is drawn whenever a pack's material reads `reflection`, so a pack cannot offer players a switch to turn reflections off and save the extra world draw. While mirroring, every solid quad is also drawn, facing or not, since the mirror's eye sees the undersides the camera does not. ## Proposal - A manifest key, additive within schema 1: `[reflection] option = "<id>"`. With it, the mirror is drawn only while that option is on. It needs `[material]` and an existing option. - Facing culling that keeps the quads facing either eye: the camera's, or its mirror's eye below the water plane. The two differ only in y.
Author
Owner

@Teiwazik commented on GitHub (Oct 30, 2026):

/claim

<!-- gh-comment-id:6523754350 --> @Teiwazik commented on GitHub (Oct 30, 2026): /claim
Author
Owner

@github-actions[bot] commented on GitHub (Oct 30, 2026):

🤖 Claims: refused, You hold 5 open issues: finish or /unclaim one first. (asked by @Teiwazik)

<!-- gh-comment-id:6523757826 --> @github-actions[bot] commented on GitHub (Oct 30, 2026): 🤖 Claims: refused, You hold 5 open issues: finish or `/unclaim` one first. (asked by @Teiwazik)
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#1306
No description provided.