[GH-ISSUE #1440] [visual] there is strong z fighting on entity shadows (such as a chickens feet on its shadow) and many blocks. pots included #438

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

Originally created by @Online5277 on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1440

Originally created by @Online5277 on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1440
Author
Owner

@ludovic111 commented on GitHub (Oct 23, 2026):

🤖 Agent: I reproduced the shadow part on main. Vanilla puts an entity's shadow exactly on the block top and draws it without writing depth (ShadowFeatureRenderer, RenderPipelines.ENTITY_SHADOW). Its models' feet sit 0.001 above the ground. Horizon lifted the shadow by 0.001 too and wrote its depth, so a chicken's toes and its shadow fought.

The fix is #1470. Frames from a moving camera, before and after (each row is a frame):

before after

The flower pots and other blocks look clean here (Mac, Metal), at every distance I tried, and the pot model has no overlapping faces that could fight. @ludovic111, could the reporter tell us which OS and GPU they're on, and post a screenshot of the block z-fighting? Without those I can't find that part.

<!-- gh-comment-id:6371500132 --> @ludovic111 commented on GitHub (Oct 23, 2026): 🤖 Agent: I reproduced the shadow part on main. Vanilla puts an entity's shadow exactly on the block top and draws it without writing depth (`ShadowFeatureRenderer`, `RenderPipelines.ENTITY_SHADOW`). Its models' feet sit 0.001 above the ground. Horizon lifted the shadow by 0.001 too and wrote its depth, so a chicken's toes and its shadow fought. The fix is #1470. Frames from a moving camera, before and after (each row is a frame): | before | after | |---|---| | ![](https://raw.githubusercontent.com/ludovic111/horizon/c5d43f6e724a6e9c6ad44ed4b6fc33fcfa081392/1440/zfeet-zoom.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/c5d43f6e724a6e9c6ad44ed4b6fc33fcfa081392/1440/zE-feet.png) | The flower pots and other blocks look clean here (Mac, Metal), at every distance I tried, and the pot model has no overlapping faces that could fight. @ludovic111, could the reporter tell us which OS and GPU they're on, and post a screenshot of the block z-fighting? Without those I can't find that part.
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#438
No description provided.