xivdev / Penumbra

FINAL FANTASY XIV modding, but actually good this time
581 stars 114 forks source link

Model exporter gives wrong vertex colors #411

Closed ppartous closed 2 months ago

ppartous commented 3 months ago

The mod Neo-Ishgardian_Top_of_Fending_TGT_1.2.ttmp2.zip normally looks like this

But if I export it with penumbra and then import it again without making any modifications to it, it now looks like this

If I export with textools then use blender to convert to gltf and import with penumbra it looks normal so it breaks during exporting. Looking at the vertex colors in blender, the model exported from penumbra has the color #FF0101 on the areas that are broken

Whereas the model exported from textools has #FFC864

I'm using penumbra version 1.0.1.0

ackwell commented 3 months ago

hm, thanks for the report. i'll need to check this.

ackwell commented 2 months ago

Ah, I wasn't normalising the color values. Will be fixed with next batch of fixes. image

sprocketaudio commented 2 months ago

Hi, has this fix been pushed to live yet? I want to test a similar issue i reported a while back on discord

https://discord.com/channels/884363610640498698/1221513268879818752

ackwell commented 2 months ago

No. This issue will automatically be closed once the fix is merged. If you want to check, you can run a dev build on this branch: https://github.com/xivdev/Penumbra/compare/master...ackwell:Penumbra:mdl-io-triage-6