[GH-ISSUE #5402] Mipmaps: fine detail of a high-resolution cutout loses its coverage in small levels #1667

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

Originally created by @Teiwazik on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5402

Originally assigned to: @Teiwazik on GitHub.

🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally.

What

Grass blades a few texels wide in a 2048 texture average to about the same alpha everywhere by the 64 level. No scale of that alpha can keep the coverage, so the alpha test passes the whole quad or none of it, and distant plants turn into solid squares or vanish.

Proposal

From 64 texels up, give each level below the base the mean alpha through an ordered dither, so about as many texels stay in as the base has. Vanilla-sized textures don't change.

Originally created by @Teiwazik on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5402 Originally assigned to: @Teiwazik on GitHub. > 🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally. ## What Grass blades a few texels wide in a 2048 texture average to about the same alpha everywhere by the 64 level. No scale of that alpha can keep the coverage, so the alpha test passes the whole quad or none of it, and distant plants turn into solid squares or vanish. ## Proposal From 64 texels up, give each level below the base the mean alpha through an ordered dither, so about as many texels stay in as the base has. Vanilla-sized textures don't change.
Author
Owner

@Teiwazik commented on GitHub (Oct 31, 2026):

/claim

<!-- gh-comment-id:6547777726 --> @Teiwazik commented on GitHub (Oct 31, 2026): /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#1667
No description provided.