Skin detail: keep the sheet filtering inside each tile #497
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!497
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-497"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-27 19:08 UTC · original
holdmysocks:people-skin-detail-bleed→master· +10 −3 · 2 files · 2 commits · merged 2026-11-27 19:32 UTCA minor correctness fix for the engine skin detail (issue #392). It does not fix the rings and lines reported on #385, which don't reproduce on an RTX 4080.
The mismatch. The game samples its detail tiles from a texture array, so a tile never sees its neighbours. The viewer packs them into a 4×4 sheet instead. It sampled that sheet with anisotropic filtering and a 1/256 inset, so near tile edges the filter could reach the neighbouring tile.
Changes:
skin_tilesamples one isotropic mip level, chosen from the larger gradient.layoutnote inextras.skin_spec.detailtells other renderers to do the same.Effect. Renders of cs_raina and cs_andy change by at most 9/255. In the sheets, neighbouring tiles have nearly the same average and differ only in a one-texel seam.
Tests: the sixng-gui and skinspec release tests pass (before the master merge).