Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor MRL creation to fix shading issues in exporting of unmodified characters. Added "Features" sub-panel that lets you select all of the shader commands/parameters instead of trying to guess them based on textures used. This proved to be much more robust. The con is that creating a material from scratch might be more complicated, since basic parameters like setting the usage of normal map to use the first uv layer are not set. Furthermore, some games don't support all parameters, and export will fail if they are used; right now there is no check nor hiding of parameters not supported for a game. The recommended workflow remains to copy the original existing materials. Added Parameters for BlendState, Depth Stencil State and Rasterizer State. Added 9 new texture slots to mtfw_shader: Detail 2 DNM, Albedo Blend BM, Albedo Blend 2 BM, Vertex Displacement, Vertex Displacement Mask, Hair Shift, Height Map, Emission Map. Added 3 new Constant Buffer sub-panesl: CB Vertex Displacement, CB Vertex Displacement 2, and Color Mask. They are currently always showing, but are not exported if the corresponging texture is not set.
- Loading branch information