ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
635 stars 74 forks source link

[TF2] [Bug] Some cosmetics have different lighting than the player model #2143

Open agrastiOs opened 7 years ago

agrastiOs commented 7 years ago

When a player passes under a light or go into a dark area, his cosmetics might have different lighting than his player model. E.g.: player goes to a shadow, his body is dark while his hat is bright.

This is an issue with Source. Each item instance uses its own origin to decide what lightning it should react to. It could be easily fixed by forcing all tf_wearables to use the shadow origin of its player owner.

This one is on Upward, right after BLU's spawn: 8b7fc64e-f85e-11e6-8402-79a53ad821d5

These are on Dustbowl, 1st Stage, right after BLU's spawn: 8b866e40-f85e-11e6-9e12-a19607be41a4

f024d9a6-f88e-11e6-81f1-fa0227f07054

This one is on Dustbowl, 2nd Stage: 0c6a6a40-f88f-11e6-8290-40617ebafed5

LeHaase commented 7 years ago

This one is on Upward, right after BLU's spawn: This one is on Upward, right after BLU's spawn This one is on Dustbowl, 1st Stage, right after BLU's spawn: This one is on Dustbowl, 1st Stage, right after BLU's spawn

agrastiOs commented 7 years ago

Thanks, these show the problem really well

Kiwii commented 7 years ago

Another one on dustbowl's first stage: 20170221194640_1

And second stage: 20170221195657_1

agrastiOs commented 3 years ago

Fixed in: https://steamcommunity.com/sharedfiles/filedetails/?id=2152159089