Automatically set correct UV for Genesis materials?
Herald of Fire
Posts: 3,504
Is it possible to automatically set the correct UV for the material when loading from smart content? I have a range of textures I use for Genesis, many of them for K4 but I find after applying them I have to manually change the UV set every time. I had assumed this was the purpose of the hashtag suffix in the metadata options which allows you to select a subgroup of Genesis, but it doesn't seem to have any effect at all.
I can do all this with a script if need be, but I was curious to know if there was an easier solution first.
Comments
Funny you mention this. I, too, don't like going in to change the UV's everytime I choose a different texture, so I wrote material presets that set the UV's to each available set, changing only the UV's and leaving all other settings alone. I then created a custom action for each and placed an icon on my UI for each, down along the side. I also did this for all character shapes so I can quickly change Genesis from D5 to V4, for example. I wondered if anyone else would be interested in either of these sets, but thought it might be too tricky to share. I'm not sure if they would work for everyone or not and if the presets share anything that people who don't own the morphs shouldn't be getting.
As for the UV switching, I don't think that would hurt anything. If the user doesn't have, for example, D5, then the D5 switcher won't work for them.
If the material presets were made for K4 then they are working as expected, as K4 only has a "default" UV, and that is what will have been written into the presets, so when you apply it Genesis it uses the "default" UV set, which is V4.
You need to make new Material presets if you want them to use the K4 UV set (or any other set) when you apply them.
That is correct, it is why a V5 texture will auto fit, a new UV was made for V5 textures. Only new UV sets will auto load the Proper UV type.