[PR #3049] [MERGED] Raise the render distance cap from 64 to 128 chunks #4765

Closed
opened 2026-11-03 05:07:46 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3049
Author: @kacpherek
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: feat/render-distance-128


📝 Commits (4)

  • b8b15b1 Raise the render distance cap from 64 to 128 chunks
  • d35efa2 Accept render distances up to 128 from the command line and horizon-ctl
  • e0a48b3 Document the 2..128 render distance range
  • 4623d2e Merge main into this branch

📊 Changes

8 files changed (+30 additions, -18 deletions)

View changed files

📝 crates/horizon-client-render/src/options_file.rs (+4 -1)
📝 crates/horizon-client-render/src/options_ui.rs (+13 -6)
📝 crates/horizon-client/src/bin/horizon-ctl/commands.rs (+1 -1)
📝 crates/horizon-client/src/game.rs (+4 -3)
📝 crates/horizon-client/src/game/control.rs (+4 -3)
📝 docs/horizon-ctl-commands.md (+1 -1)
📝 docs/native-client.md (+1 -1)
📝 tools/test_options_parity.py (+2 -2)

📄 Description

What and why

  • Players asked on Discord to uncap render distance ("Uncap render distance", 9 votes): good GPUs handle more than 64 chunks, but the slider, options.txt, --render-distance and horizon-ctl render-distance all stopped at 64.
  • One constant, options_file::MAX_RENDER_DISTANCE = 128, now sets the cap everywhere. 128 is where the server protocol's view distance (a signed byte, already clamped to 127 in remote.rs) tops out, so going further would not reach a server anyway.
  • The slider spans 2..128, so its middle is now 65.
  • Vanilla stops at 32. Like #673, this is an intentional extension: the options parity probe already normalizes anything past 32 to vanilla's default, and its notes now say 33..128.
  • Memory is unchanged: very high distances can still run out of VRAM on small cards (#600, #2733). This only lets players with the hardware choose them.

Vanilla reference

Options.java renderDistance: OptionInstance.IntRange(2, 32) (16 on 32-bit). Horizon goes past it on purpose.

Self-check

fmt passes. Built and tested by this pull request's checks. Not run in game.


🔄 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/3049 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `feat/render-distance-128` --- ### 📝 Commits (4) - [`b8b15b1`](https://github.com/horizon-rust/horizon/commit/b8b15b16823f7cf8aacb634c1d61889c545d5787) Raise the render distance cap from 64 to 128 chunks - [`d35efa2`](https://github.com/horizon-rust/horizon/commit/d35efa25ecf86a942fcf2fb9aa95b3c71afe1add) Accept render distances up to 128 from the command line and horizon-ctl - [`e0a48b3`](https://github.com/horizon-rust/horizon/commit/e0a48b3f6690e7f53880c31239f4908585130de3) Document the 2..128 render distance range - [`4623d2e`](https://github.com/horizon-rust/horizon/commit/4623d2e59fc36dfda3ae5f35e3eb568d003a9120) Merge main into this branch ### 📊 Changes **8 files changed** (+30 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/options_file.rs` (+4 -1) 📝 `crates/horizon-client-render/src/options_ui.rs` (+13 -6) 📝 `crates/horizon-client/src/bin/horizon-ctl/commands.rs` (+1 -1) 📝 `crates/horizon-client/src/game.rs` (+4 -3) 📝 `crates/horizon-client/src/game/control.rs` (+4 -3) 📝 `docs/horizon-ctl-commands.md` (+1 -1) 📝 `docs/native-client.md` (+1 -1) 📝 `tools/test_options_parity.py` (+2 -2) </details> ### 📄 Description ## What and why - Players asked on Discord to uncap render distance ("Uncap render distance", 9 votes): good GPUs handle more than 64 chunks, but the slider, options.txt, `--render-distance` and `horizon-ctl render-distance` all stopped at 64. - One constant, `options_file::MAX_RENDER_DISTANCE = 128`, now sets the cap everywhere. 128 is where the server protocol's view distance (a signed byte, already clamped to 127 in `remote.rs`) tops out, so going further would not reach a server anyway. - The slider spans 2..128, so its middle is now 65. - Vanilla stops at 32. Like #673, this is an intentional extension: the options parity probe already normalizes anything past 32 to vanilla's default, and its notes now say 33..128. - Memory is unchanged: very high distances can still run out of VRAM on small cards (#600, #2733). This only lets players with the hardware choose them. ## Vanilla reference `Options.java` `renderDistance`: `OptionInstance.IntRange(2, 32)` (16 on 32-bit). Horizon goes past it on purpose. ## Self-check fmt passes. Built and tested by this pull request's checks. Not run in game. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:07:46 +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#4765
No description provided.