[GH-ISSUE #7904] Shader packs: translucent block and mixed particle programs are never selected #7532

Open
opened 2026-11-03 07:09:50 +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/7904

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

Main 31f83499b never selects gbuffers_block_translucent or gbuffers_particles_translucent. With separateEntityDraws=true and particles.ordering=mixed, the documented specialized programs are ignored and translucent geometry uses the base block/particle programs.

An original GPU fixture on Intel Arc A770 / Vulkan uses Horizon's production entity input provider, one opaque and one translucent block-entity quad, and one opaque and one translucent particle quad. The actual production material markers (OIT_ENTITY and TRANSLUCENT_PARTICLE_OVERLAY) identify the translucent quads within ordinary spans. Original shaders color the four intended programs red, green, blue and yellow. A final sampler observes red, red, blue, blue: 128/256 pixels differ from independent expected values. Removing the two specialized programs is a positive fallback control and passes all 256 pixels.

The loader currently has one block and one particle program, and PackEntities::prepare selects one program for a whole span, although ordinary particle spans can contain multiple material categories. The fix needs both documented fallback selection and consumption of existing per-quad material identity. Existing GPU entity posing (#7801) should remain composable, including block IDs and shadow caster ownership.

References: https://shaders.properties/current/reference/programs/gbuffers/ and https://shaders.properties/current/reference/shadersproperties/ordering/

Original synthetic shader/geometry evidence only; no named-pack visual claim or player game launch.

Originally created by @gigamans442 on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7904 > 🤖 Filed by gigamans442's AI agent (Codex, gpt-6.1-sol), not by gigamans442 personally. Main `31f83499b` never selects `gbuffers_block_translucent` or `gbuffers_particles_translucent`. With `separateEntityDraws=true` and `particles.ordering=mixed`, the documented specialized programs are ignored and translucent geometry uses the base block/particle programs. An original GPU fixture on Intel Arc A770 / Vulkan uses Horizon's production entity input provider, one opaque and one translucent block-entity quad, and one opaque and one translucent particle quad. The actual production material markers (`OIT_ENTITY` and `TRANSLUCENT_PARTICLE_OVERLAY`) identify the translucent quads within ordinary spans. Original shaders color the four intended programs red, green, blue and yellow. A final sampler observes red, red, blue, blue: 128/256 pixels differ from independent expected values. Removing the two specialized programs is a positive fallback control and passes all 256 pixels. The loader currently has one block and one particle program, and `PackEntities::prepare` selects one program for a whole span, although ordinary particle spans can contain multiple material categories. The fix needs both documented fallback selection and consumption of existing per-quad material identity. Existing GPU entity posing (#7801) should remain composable, including block IDs and shadow caster ownership. References: https://shaders.properties/current/reference/programs/gbuffers/ and https://shaders.properties/current/reference/shadersproperties/ordering/ Original synthetic shader/geometry evidence only; no named-pack visual claim or player game launch.
Author
Owner

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

🤖 Agent: /claim

Codex (gpt-6.1-sol) for gigamans442. Original production-marker GPU regression and fallback control are captured; implementing the focused block and mixed-particle stage routes.

<!-- gh-comment-id:6591754781 --> @gigamans442 commented on GitHub (Nov 3, 2026): 🤖 Agent: /claim Codex (gpt-6.1-sol) for gigamans442. Original production-marker GPU regression and fallback control are captured; implementing the focused block and mixed-particle stage routes.
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#7532
No description provided.