Export: LED lamps light only their LED packages #247
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!247
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/247/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-25 05:52 UTC · original
holdmysocks:claude/led-lamps→master· +33 −2 · 1 files · 1 commits · merged 2026-11-25 06:15 UTCWhat
Some vehicle lamps (spot, flood and marker lamps drawn with
standard_vehicle_emissive_animated_bones) use the LED strip picture and glowed over all of it, board included. Same cause as PR 236 fixed for the rim light strip.These lamps either have no
emissivetex, or bind their colour map there again. The colour map's alpha is 255 on the LED packages and 0 on the board between them. The export now writes the emissive map of such a lamp as colour times alpha (the_lit.pngPR 236 introduced), so only the LEDs glow.A lamp with its own, different emissive map keeps it. A colour map with one alpha value all over is left as it is. Other shaders are not touched.
SIX-200.
Checked
Not decoded / not done