SSBHLib
SSBHLib copied to clipboard
material presets
- [x] col,nor,prm,spec (mario def)
- [x] col,nor,prm,spec,emi (samus)
- [x] shadeless (emi)
- [x] diffuse cube (rosetta)
- [ ] transparent no alpha test (fairy bottle)
- [x] glass (olimar helmet)
- [x] CustomVector47 no PRM (dedede)
- [ ] metal box
- [ ] ditto
- [ ] little mac cel shaded
- [x] skin (CustomVector11/CustomVector30)
- [x] hair (anisotropic)
The presets themselves can be stored in a single MaterialPresets.xml file using the same format used for MatLab. The material label can be repurposed to serve as the preset name. The existing material label should be preserved when applying a preset to avoid messing up material assignments.
- [x] Material preset selector
- [x] Update the model (matl)
- [x] Update the view model and render material
- [x] Handle the case where the material preset xml fails to deserialize