TexTools / xivModdingFramework

GNU General Public License v3.0
9 stars 16 forks source link

Return a UV mode for model preview textures #71

Closed helpful-fox-senko-san closed 2 months ago

helpful-fox-senko-san commented 2 months ago

Helps expose UV errors before making it all the way in to the game.

Assumption is made that the mode of the first texture in a material will relevant in determining which mode to use for the actual render preview.

I looked at a lot of faces, monsters and equipment which all primarily use Mirror mode for all textures except Index, and I didn't see any visual defects caused by this.

I think ideally this logic would use a priority like Diffuse > Specular/Mask > other. A lot of equipment has Normal as its first texture.