PrismaticFlower / shaderpatch

Improved shaders (and fun stuff for modders) for Star Wars Battlefront II (2005) - Incompatible with Classic Collection
MIT License
39 stars 2 forks source link

soldiers with the normal_ext rendertype applied don't fade out correctly after dying #70

Closed auri0n closed 4 years ago

auri0n commented 5 years ago

https://i.imgur.com/5MhyF9v.mp4

DoctorAnsem commented 4 years ago

Forgot to mention this before, but this same transparency issue seems to apply to PBR as well, as I've seen this consistently happen with dynamic sky objects that use PBR materials.

PrismaticFlower commented 4 years ago

Update on this, looks like the fade for dying soldiers comes from the stock diffuse material colour which is outright unused in the pbr shader and mistakenly overwritten instead of blended in the normal_ext shader.

Both issues will be fixed for the next bug fix release.