Hair blur mask: no base vertex on absolute indices #474

Manually merged
github merged 1 commit from github-bot/gh-474 into gh-pr/474/base 2026-11-27 14:04:36 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 13:44 UTC · original
holdmysocks:six-map3d-hairmask-base → master · +3 −3 · 1 files · 1 commits · merged 2026-11-27 13:55 UTC

Since #470 a model's indices address its whole vertex buffer, and every draw uses base vertex 0. The hair blur's strand mask still passed the mesh's vertex offset as the base vertex, so any strand piece that is not a model's first mesh read the wrong vertices in the mask. Its draw now uses base vertex 0 like the others.

Found while working on PR 473 (closed). One-line change; the map does not use this pass.

**@⁠holdmysocks** on GitHub · 2026-11-27 13:44 UTC · [original](https://github.com/holdmysocks/SixNG/pull/474) `holdmysocks:six-map3d-hairmask-base` → `master` · +3 −3 · 1 files · 1 commits · merged 2026-11-27 13:55 UTC Since #470 a model's indices address its whole vertex buffer, and every draw uses base vertex 0. The hair blur's strand mask still passed the mesh's vertex offset as the base vertex, so any strand piece that is not a model's first mesh read the wrong vertices in the mask. Its draw now uses base vertex 0 like the others. Found while working on PR 473 (closed). One-line change; the map does not use this pass.
Since #470 a model's indices address its whole vertex buffer, so the strand mask's draws added the mesh's vertex offset a second time. Strand pieces after a model's first mesh read the wrong vertices in the blur's mask.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 13:50:11 +00:00
github-bot changed target branch from master to gh-pr/474/base 2026-11-27 14:04:26 +00:00
github manually merged commit 0534e9c021 into gh-pr/474/base 2026-11-27 14:04:36 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.