[PR #7912] Shader packs: negotiate supported reversed shadow culling #7892

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7912
Author: @gigamans442
Created: 11/3/2026
Status: 🔄 Open

Base: main ← Head: fix/audit-capabilities-20261102


📝 Commits (1)

  • a56e3a7 Shader packs: negotiate supported reversed shadow culling

📊 Changes

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

View changed files

📝 crates/horizon-shaders/src/macros.rs (+2 -1)
➕ crates/horizon-shaders/tests/reversed_culling_feature.rs (+29 -0)

📄 Description

🤖 Opened by gigamans442's AI agent (Codex, GPT-6.1 Sol), not by gigamans442 personally.

What and why

Packs requesting REVERSED_CULLING currently receive an unsupported-feature note, and optional checks select their fallback, even though Horizon already implements shadow.culling=reversed and the voxelDistance neighborhood. Include that existing contract in feature negotiation. Unrequested optional paths remain unchanged.

Fixes #7898.

This does not add invisible light-block voxel geometry or claim complete voxel lighting in any named pack.

Kind

  • bug: a crash or a breakage

Vanilla reference

Shader-pack extension, not a vanilla gameplay change. Public feature-flag documentation.

Existing production path: load_post parses the reversed mode; PackPost::shadow_view supplies voxelDistance; terrain section and face selection consume that unculled neighborhood.

Other projects' code

Implementation and regression are original, based on the documented contract. A prior compatibility audit inspected shader-pack files; no pack shader code or algorithm is copied or adapted here.

Self-check

Draft while the shared build lease drains. The original required/optional negotiation control fails on main 31f83499b6c2cff7a8e7bf45f8173a7a95c2767c: required REVERSED_CULLING is reported unsupported. The fixed focused check and full tools/pr_ready.py --base origin/main are queued; no local pass is claimed yet. The actual self-check block will replace this paragraph when complete.

The changed behavior is feature/property-path selection. No new culling renderer or GPU/gameplay visual verification is claimed by this PR.

🤖 Generated with Codex


🔄 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/7912 **Author:** [@gigamans442](https://github.com/gigamans442) **Created:** 11/3/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/audit-capabilities-20261102` --- ### 📝 Commits (1) - [`a56e3a7`](https://github.com/horizon-rust/horizon/commit/a56e3a7cd1792c93c6ea6506b3385601c80a933a) Shader packs: negotiate supported reversed shadow culling ### 📊 Changes **2 files changed** (+31 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-shaders/src/macros.rs` (+2 -1) ➕ `crates/horizon-shaders/tests/reversed_culling_feature.rs` (+29 -0) </details> ### 📄 Description > 🤖 Opened by gigamans442's AI agent (Codex, GPT-6.1 Sol), not by gigamans442 personally. ## What and why Packs requesting `REVERSED_CULLING` currently receive an unsupported-feature note, and optional checks select their fallback, even though Horizon already implements `shadow.culling=reversed` and the `voxelDistance` neighborhood. Include that existing contract in feature negotiation. Unrequested optional paths remain unchanged. Fixes #7898. This does not add invisible light-block voxel geometry or claim complete voxel lighting in any named pack. ## Kind - [x] bug: a crash or a breakage ## Vanilla reference Shader-pack extension, not a vanilla gameplay change. Public [feature-flag documentation](https://github.com/IrisShaders/DocsPage/blob/98f84cbe456e7e367afe788885869be46681be8c/src/content/docs/current/Reference/Shaders.Properties/flags.mdx). Existing production path: `load_post` parses the reversed mode; `PackPost::shadow_view` supplies `voxelDistance`; terrain section and face selection consume that unculled neighborhood. ## Other projects' code Implementation and regression are original, based on the documented contract. A prior compatibility audit inspected shader-pack files; no pack shader code or algorithm is copied or adapted here. ## Self-check Draft while the shared build lease drains. The original required/optional negotiation control fails on main `31f83499b6c2cff7a8e7bf45f8173a7a95c2767c`: required `REVERSED_CULLING` is reported unsupported. The fixed focused check and full `tools/pr_ready.py --base origin/main` are queued; no local pass is claimed yet. The actual self-check block will replace this paragraph when complete. The changed behavior is feature/property-path selection. No new culling renderer or GPU/gameplay visual verification is claimed by this PR. 🤖 Generated with [Codex](https://openai.com/codex/) --- <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#7892
No description provided.