xivdev / Penumbra

FINAL FANTASY XIV modding, but actually good this time
656 stars 123 forks source link

.mdl io: Export composed materials #382

Closed ackwell closed 8 months ago

ackwell commented 8 months ago

Big one sorry. Hopefully the last major full-feature that needs to be added - most things from here out should be more iterative. I hope. Maybe. Refactors not included. Not including shapekey transforms too that's gonna be a big one. Ramble.

This PR fleshes out the previously placeholder white texture generation with material & texture composition that loosely mimics the game. Keyword "loose" - it's fairly similar to TexTool's behavior, for now. The exported textures are designed to be aids when working with the models in 3d apps, and that's about it.

yada yada