GFD-Studio
GFD-Studio copied to clipboard
[WIP] Metaphor: Refantazio Support
Adding support for working with models from Metaphor: Refantazio There are many significant changes to the model format, notably
- Textures for (most?) of the models have moved to a separate TEX texture bin
- The first part of the material section (ambient, diffuse color etc.) has been replaced with a set of parameters that depend on the particular parameter set used, which changes what shader the game uses to draw that geometry, like how material attributes worked in P5
- Vertices with weighting can now define up to 8 bone indices, which are stored as
u16
Currently, it's possible to load models in, though more work is needed to ensure that exporting works properly and that I haven't broken anything else.