Vehicles: no prop tint on vehicle shaders #97

Manually merged
github merged 1 commit from gh-pr/97/head into gh-pr/97/base 2026-11-26 20:09:35 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-24 01:02 UTC · original
holdmysocks:claude/no-prop-tint → master · +6 −2 · 2 files · 1 commits · merged 2026-11-24 01:08 UTC

Follow-up to #95, which was merged before this commit reached it.

What

The placement tint of props (a palette embedded in the model, picked by vertex colours) is no longer applied on the vehicle shaders. Their vertex colours carry part ids, so a vehicle part without a part set, such as the shared truck beds from #95, came out in rainbow bands. part_colours_version is 8, so vehicles and their parts are exported again on first open.

Checked

  • Renders of the 16 trucks and pickups from #95: benson's box and tiptruck's flatbed are plain grey and metal instead of rainbow; the others look as before.
  • cargo test -p sixng-core -p sixng-gui: 156 passed (no new tests).

Not decoded / not done

  • Colours of the shared truck beds. No part set was found for them (their elements' part set keys name no f14244fd record in packs.rpf or data.rpf), so they show the stand-in trim and paint colours, not per-part ones.
  • What the embedded palette in slot 2c8d7182 is for on vehicle models (129 pixels wide on the truck beds) is not known.
**@⁠holdmysocks** on GitHub · 2026-11-24 01:02 UTC · [original](https://github.com/holdmysocks/SixNG/pull/97) `holdmysocks:claude/no-prop-tint` → `master` · +6 −2 · 2 files · 1 commits · merged 2026-11-24 01:08 UTC Follow-up to #95, which was merged before this commit reached it. ## What The placement tint of props (a palette embedded in the model, picked by vertex colours) is no longer applied on the vehicle shaders. Their vertex colours carry part ids, so a vehicle part without a part set, such as the shared truck beds from #95, came out in rainbow bands. `part_colours_version` is 8, so vehicles and their parts are exported again on first open. ## Checked - Renders of the 16 trucks and pickups from #95: benson's box and tiptruck's flatbed are plain grey and metal instead of rainbow; the others look as before. - `cargo test -p sixng-core -p sixng-gui`: 156 passed (no new tests). ## Not decoded / not done - Colours of the shared truck beds. No part set was found for them (their elements' part set keys name no `f14244fd` record in packs.rpf or data.rpf), so they show the stand-in trim and paint colours, not per-part ones. - What the embedded palette in slot `2c8d7182` is for on vehicle models (129 pixels wide on the truck beds) is not known.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:09:33 +00:00
github manually merged commit fe0811654c into gh-pr/97/base 2026-11-26 20:09:35 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.