[PR #5723] [MERGED] Shader packs: a pack's vignette=false hides the game's vignette #6461

Closed
opened 2026-11-03 06:21:01 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5723
Author: @TobiasLogic
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: shaderpacks/pack-vignette


📝 Commits (3)

  • 34a47de Shader packs: a pack's vignette=false hides the game's vignette
  • e4b8313 Merge main into #5723
  • e80ee4d Shader packs: the vignette comment names the property, not another project

📊 Changes

2 files changed (+12 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game/render_tick.rs (+1 -1)
📝 crates/horizon-client/src/game/shader_packs.rs (+11 -0)

📄 Description

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

What and why

Fixes #5722.

PackIds now reads vignette from shaders.properties (on unless false), and Game::vignette_shown is the Vignette option and that: the camera overlays (render_tick.rs) draw the game's vignette only when both allow it. Without a pack, or with one of Horizon's own packs, it's the option alone, as before.

Most shaders/ packs set vignette=false because they draw their own vignette: of the 28 packs I test with, BSL, BSL Classic, Bliss, Bloop, Complementary Reimagined and Unbound, FastPBR, Hysteria and I Like Vanilla among them. Iris hides the game's vignette for those, so with the Vignette option on they no longer get two.

Kind

  • parity: Horizon now does what vanilla 26.3 does
  • bug: a crash or a breakage
  • perf: faster, or less memory
  • feature: something new for players (listed under New in the release notes)
  • extra: Horizon-only, off by default
  • tooling: tools, CI, tests, harnesses
  • docs

Vanilla reference

Not vanilla: the shaders/ pack format's vignette property. Iris 1.11.7 on Minecraft 26.3 hides the game's vignette for a pack that sets it to false (run and observed, no source read).

Self-check

pr_ready (tools/pr_ready.py --quick on a2fdb8f4bb53, against origin/main at c51dcda01, 5 min 41 s)

Check Result
Scope ✅ 2 files, +12 −1
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 511 passed (53 s)
rustfmt ✅ (12 s)
clippy ✅ (2 min 24 s)
tests: horizon-client ✅ 1635 passed (2 min 9 s)
doc tests ✅ 0 passed (2 s)
content root tests ➖ content root 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)

Run on a rented Linux box (Ubuntu 24.04, stable Rust 1.99.1), GPU tests on lavapipe.

🤖 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/5723 **Author:** [@TobiasLogic](https://github.com/TobiasLogic) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `shaderpacks/pack-vignette` --- ### 📝 Commits (3) - [`34a47de`](https://github.com/horizon-rust/horizon/commit/34a47de0bf12af5331e88eacba2e1324b16418f6) Shader packs: a pack's vignette=false hides the game's vignette - [`e4b8313`](https://github.com/horizon-rust/horizon/commit/e4b8313747fcc79bed7871268194ea8fbf9f2f8f) Merge main into #5723 - [`e80ee4d`](https://github.com/horizon-rust/horizon/commit/e80ee4d10a1a21a52125430e4652885d536488be) Shader packs: the vignette comment names the property, not another project ### 📊 Changes **2 files changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/render_tick.rs` (+1 -1) 📝 `crates/horizon-client/src/game/shader_packs.rs` (+11 -0) </details> ### 📄 Description > 🤖 Opened by TobiasLogic's AI agent (Claude Code, Claude Opus 5.5), not by TobiasLogic personally. ## What and why Fixes #5722. `PackIds` now reads `vignette` from `shaders.properties` (on unless `false`), and `Game::vignette_shown` is the Vignette option and that: the camera overlays (`render_tick.rs`) draw the game's vignette only when both allow it. Without a pack, or with one of Horizon's own packs, it's the option alone, as before. Most `shaders/` packs set `vignette=false` because they draw their own vignette: of the 28 packs I test with, BSL, BSL Classic, Bliss, Bloop, Complementary Reimagined and Unbound, FastPBR, Hysteria and I Like Vanilla among them. Iris hides the game's vignette for those, so with the Vignette option on they no longer get two. ## Kind - [ ] parity: Horizon now does what vanilla 26.3 does - [x] bug: a crash or a breakage - [ ] perf: faster, or less memory - [ ] feature: something new for players (listed under New in the release notes) - [ ] extra: Horizon-only, off by default - [ ] tooling: tools, CI, tests, harnesses - [ ] docs ## Vanilla reference Not vanilla: the `shaders/` pack format's `vignette` property. Iris 1.11.7 on Minecraft 26.3 hides the game's vignette for a pack that sets it to `false` (run and observed, no source read). ## Self-check **pr_ready** (`tools/pr_ready.py --quick` on a2fdb8f4bb53, against origin/main at c51dcda01, 5 min 41 s) | Check | Result | | --- | --- | | Scope | ✅ 2 files, +12 −1 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 511 passed (53 s) | | rustfmt | ✅ (12 s) | | clippy | ✅ (2 min 24 s) | | tests: horizon-client | ✅ 1635 passed (2 min 9 s) | | doc tests | ✅ 0 passed (2 s) | | content root tests | ➖ content root 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) | Run on a rented Linux box (Ubuntu 24.04, stable Rust 1.99.1), GPU tests on lavapipe. 🤖 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>
bsakaguchi 2026-11-03 06:21:01 +07:00
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#6461
No description provided.