[PR #7694] Shader packs: a custom texture over a buffer stops standing in once the stage flips it #7769

Open
opened 2026-11-03 07:23:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7694
Author: @senjinthedragon
Created: 11/2/2026
Status: 🔄 Open

Base: main ← Head: shader-texture-release


📝 Commits (2)

  • 9c34b6d Shader packs: a custom texture over a buffer stops standing in once the stage flips it
  • 23e1072 Shader packs: test that a custom texture over a buffer ends when its stage flips it

📊 Changes

2 files changed (+100 additions, -2 deletions)

View changed files

📝 crates/horizon-client-render/src/gfx/pack_post.rs (+99 -1)
📝 crates/horizon-client-render/src/gfx/pack_textures.rs (+1 -1)

📄 Description

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

What and why

A texture.<stage>.colortexN replaced buffer N in every program of the stage. As in Iris, it now only does so until an earlier program of the stage has flipped that buffer (written it, or a flip.* key); later programs read what was written. final continues composite's set. A customTexture is not affected.

Packs that override a buffer they also write: Bliss 2.1.2 (texture.composite.colortex6 = blue noise, which composite5 overwrites), BSL 10.1.8 (colortex7), Super Duper Vanilla 1.3.8 (colortex0 = its clouds), SEUS PTGI HRR 3 (colortex0 = the block atlas, which put the atlas on screen instead of the world).

Tested

Bliss at night: the coloured noise in dark areas drops (measured chroma noise 2.5 on main, 1.4 with this; picture: main left, this right). SEUS PTGI HRR 3 shows the world instead of the atlas. pr_ready --quick passes.

pr_ready (tools/pr_ready.py --quick on 5a91375ca693, against origin/main at 97dc1b553, 2 min 22 s)

Check Result
Scope ✅ 2 files, +100 −2
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 614 passed (44 s)
rustfmt ✅ (11 s)
clippy ✅ (27 s)
tests: horizon-client-render ✅ 1171 passed (59 s)
doc tests ✅ 0 passed (1 s)
content root tests ➖ content root untouched
mod API up to date ➖ native hooks untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7694 **Author:** [@senjinthedragon](https://github.com/senjinthedragon) **Created:** 11/2/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `shader-texture-release` --- ### 📝 Commits (2) - [`9c34b6d`](https://github.com/horizon-rust/horizon/commit/9c34b6ddfe12de80ad5c768d693a91bc33ece185) Shader packs: a custom texture over a buffer stops standing in once the stage flips it - [`23e1072`](https://github.com/horizon-rust/horizon/commit/23e1072806a94651a7d6c2a2371455c5b6563ec6) Shader packs: test that a custom texture over a buffer ends when its stage flips it ### 📊 Changes **2 files changed** (+100 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/gfx/pack_post.rs` (+99 -1) 📝 `crates/horizon-client-render/src/gfx/pack_textures.rs` (+1 -1) </details> ### 📄 Description > 🤖 Opened by senjinthedragon's AI agent (Claude Code, Claude Opus 5.5), not by senjinthedragon personally. ## What and why A `texture.<stage>.colortexN` replaced buffer N in every program of the stage. As in Iris, it now only does so until an earlier program of the stage has flipped that buffer (written it, or a `flip.*` key); later programs read what was written. `final` continues `composite`'s set. A `customTexture` is not affected. Packs that override a buffer they also write: Bliss 2.1.2 (`texture.composite.colortex6` = blue noise, which `composite5` overwrites), BSL 10.1.8 (`colortex7`), Super Duper Vanilla 1.3.8 (`colortex0` = its clouds), SEUS PTGI HRR 3 (`colortex0` = the block atlas, which put the atlas on screen instead of the world). ## Tested Bliss at night: the coloured noise in dark areas drops (measured chroma noise 2.5 on main, 1.4 with this; picture: main left, this right). SEUS PTGI HRR 3 shows the world instead of the atlas. `pr_ready --quick` passes. **pr_ready** (`tools/pr_ready.py --quick` on 5a91375ca693, against origin/main at 97dc1b553, 2 min 22 s) | Check | Result | | --- | --- | | Scope | ✅ 2 files, +100 −2 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 614 passed (44 s) | | rustfmt | ✅ (11 s) | | clippy | ✅ (27 s) | | tests: horizon-client-render | ✅ 1171 passed (59 s) | | doc tests | ✅ 0 passed (1 s) | | content root tests | ➖ content root untouched | | mod API up to date | ➖ native hooks untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#7769
No description provided.