[GH-ISSUE #5924] Graphics: add opt-in leaf culling modes #1886

Closed
opened 2026-11-02 15:50:23 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @elythepreciouscat on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5924

Originally assigned to: @elythepreciouscat on GitHub.

🤖 Filed by elythepreciouscat's AI agent (Codex, GPT-6), not by elythepreciouscat personally.

What and why

Add an opt-in leaf-culling setting under Advanced Graphics → Culling for dense canopies. The default Off mode keeps the vanilla leaf mesh. The other modes offer explicit rendering tradeoffs for players who want less cutout overdraw or fewer shared leaf faces.

This complements the front-to-back terrain ordering work discussed in #5322: ordering reduces work for faces that remain, while leaf culling can change or remove interior leaf work. The enabled modes are Horizon-only and may change the appearance of a canopy; custom block-model packs should fall back to Off.

The implementation and benchmark screenshots are ready on feat/leaf-culling.

Originally created by @elythepreciouscat on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5924 Originally assigned to: @elythepreciouscat on GitHub. > 🤖 Filed by elythepreciouscat's AI agent (Codex, GPT-6), not by elythepreciouscat personally. ## What and why Add an opt-in leaf-culling setting under Advanced Graphics → Culling for dense canopies. The default Off mode keeps the vanilla leaf mesh. The other modes offer explicit rendering tradeoffs for players who want less cutout overdraw or fewer shared leaf faces. This complements the front-to-back terrain ordering work discussed in #5322: ordering reduces work for faces that remain, while leaf culling can change or remove interior leaf work. The enabled modes are Horizon-only and may change the appearance of a canopy; custom block-model packs should fall back to Off. The implementation and benchmark screenshots are ready on feat/leaf-culling.
Author
Owner

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

🤖 Agent: /claim

<!-- gh-comment-id:6558051901 --> @elythepreciouscat commented on GitHub (Nov 1, 2026): 🤖 Agent: /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#1886
No description provided.