Tyres stay black: leave the tyre colour slot unapplied #198
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!198
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/198/head"
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-24 19:56 UTC · original
holdmysocks:claude/tyre-lod-shader→master· +47 −15 · 5 files · 3 commits · merged 2026-11-24 20:20 UTCWhat
The delivery van (
boxville_hi) showed red tyres in the viewer. Asked about by the user, who chose to keep tyres black until the slot is understood.f3bd038d) holds ten parts, each binding the tyre's group (part id 35, the one part id of all 52 sharedtyre_*_himodels) to channel976fe07eand assigning it one of ten colours (palette rows 111-121: two greys, purple, magenta, two greens, blue, yellow, orange, red) on the rubber surface. 15 of 4,063 configurations on 5 of 373 vehicles fit one: boxville 0, 1, 3; stanier 1-4; burrito 1-3; rentalbus 1-3; journey 1-2. Ten are red, five light grey; the other eight colours are never fitted.976fe07eare skipped when a configuration's colours are applied, so the tyre keeps the rubber of its part set.model.jsonsays so inpart_colours.tyre_colour_note.b994d670(standard_vehicle_2lyr_tyre_inst_lod, the one material of the low-detailtyre_truck_001) is now treated as a tyre shader like99ad6fc9(material::is_tyre_shader): its placeholder tint palette (entry 0 pure red) is no longer multiplied in. This was my first guess at the red and is not what the viewer showed (it fits the_hityre), but it is correct for exports of that model.vehicle_parts.jsonFORMAT 19 -> 20 andEXPORT_VERSION23 -> 24, so the index and cached vehicles are rebuilt.Checked
boxville_hidefault configuration, same command before and after: tyres red -> black. Configuration 3 (was light grey) andminivan_hirendered too; only the boxville default before/after was looked at closely.cargo test --workspace: 185 + 20 passed, 0 failed, 3 ignored.Not decoded / not done
tyres85be39be,tyres_fronta5fd0d42,tyres_rearcdad26d9,rims5fbd8e4d,rims_frontbb36e0ee,rims_rearcd3c05e8. Not used in code yet.c328e66e(5,437 records) looks like a colour-only channel assignment thatvehcolourdoes not read; not acted on here.