3D map: the shared mesh shader without the sticker part too #527
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!527
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-527"
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-28 03:32 UTC · original
holdmysocks:claude/map-no-sticker-part→master· +16 −6 · 2 files · 1 commits · merged 2026-11-28 03:46 UTCWhat
Follow-up to PR 520. The 3D map's renderer now builds the shared mesh shader without the sticker part as well, not only its material-table variant.
PR 520 left two things open: the meshes the map draws with the shared shader kept the sticker part, and with the material table off (
SIXNG_MAP_GPU_DRAWS=0, or where it is not available) nothing had changed. The map has a renderer of its own (new_map), and nothing sets stickers on its models, so its copy of the shared shader can leave the part out the same way: the one line that reads the sticker count becomes the constant 0.gpu_draw::NO_STICKERS), used by the material-table transform and by the map's renderer.Checked
Same map view as in PR 520 (RTX 4080, 2560x1440, GPU time of the main pass from the map's tick lines), this change against master, runs taken in turn. Other work was running on the machine and the GPU this time (GPU about 40 % busy before the runs), so the figures are higher than in PR 520 and only the pairs compare:
cargo test -p sixng-gui: 68 pass, 2 ignored.Not decoded / not done