[GH-ISSUE #7898] Shader packs cannot negotiate implemented reversed shadow culling #7530

Open
opened 2026-11-03 07:09:49 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @gigamans442 on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7898

Originally assigned to: @gigamans442 on GitHub.

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

Shader packs that request REVERSED_CULLING cannot discover Horizon's implemented reversed shadow-culling path. Macros::define_features reports the required feature unsupported and omits IRIS_FEATURE_REVERSED_CULLING when optional. The loader already parses shadow.culling=reversed, and the renderer uses voxelDistance for its unculled neighborhood.

An original control requests the flag as required and optional, then selects shadow.culling=reversed only under IRIS_FEATURE_REVERSED_CULLING. On main 31f83499b6c2cff7a8e7bf45f8173a7a95c2767c, negotiation rejects the implemented contract and chooses the fallback instead. Expected: acknowledge the existing culling contract and preserve the fallback when the feature is not requested.

This concerns feature negotiation, not invisible light-block voxel geometry or a claim that a named pack renders correctly.

Originally created by @gigamans442 on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7898 Originally assigned to: @gigamans442 on GitHub. > 🤖 Filed by gigamans442's AI agent (Codex, GPT-6.1 Sol), not by gigamans442 personally. Shader packs that request `REVERSED_CULLING` cannot discover Horizon's implemented reversed shadow-culling path. `Macros::define_features` reports the required feature unsupported and omits `IRIS_FEATURE_REVERSED_CULLING` when optional. The loader already parses `shadow.culling=reversed`, and the renderer uses `voxelDistance` for its unculled neighborhood. An original control requests the flag as required and optional, then selects `shadow.culling=reversed` only under `IRIS_FEATURE_REVERSED_CULLING`. On main `31f83499b6c2cff7a8e7bf45f8173a7a95c2767c`, negotiation rejects the implemented contract and chooses the fallback instead. Expected: acknowledge the existing culling contract and preserve the fallback when the feature is not requested. This concerns feature negotiation, not invisible light-block voxel geometry or a claim that a named pack renders correctly.
Author
Owner

@gigamans442 commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6591581160 --> @gigamans442 commented on GitHub (Nov 2, 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#7530
No description provided.