by Ricardo2020 » Sat Jun 24, 2023 6:42 pm
Greetings, fellow human maker.
Some things to know about editing assets.
The Material Editor lets you choose various elements of the asset such as textures, shaders, and transparency/glossiness/etc.. Although you can dial some settings within a light sphere or phong environment to arrive at a color change, it is not always effective and might not give you the desired result. A better way to do this is by editing the diffuse or ambient textures in a graphics program such as the GIMP.
Let's assume you want a hair asset to be a color other than the one included with said asset. Here is what I do when the need arises to do this.
I find the texture by locating it in the folder where the asset lives, usually in the home folder for MakeHuman. In Windows, it will be in your users/username/documents/makehuman community/v3py/data/asset type/asset name. In Linux, it will be in your home/username/documents/makehuman community/v3py/data/asset type/asset name.
Once you locate the texture, load it into your graphics editor. I use the GIMP, but the process is similar in any such program.
With the texture loaded, use the color setting to dial in the shade you want.
Export the texture (uncompressed) to the folder containing the asset, but give it a different name so that it does not overwrite the original. This name and its extension should be the same as the original name plus an underscore and then the new name, such as asset name_color name.
If the asset has a material folder, put the new texture in there. If not, create said folder and put the new texture in it.
Now go into the Material Editor and look at the diffuse texture box. Click the button that lets you load a texture and find your new file. You will see it change the diffuse color of the asset. You can do this for any texture, including the ambient and normal textures as well, provided you have made these and placed them accordingly.
Once you have the new textures the way you want, go to the bottom of the right pane and click save. Save the new MAT file in the Material folder with the name of the asset_new texture.
Now go into the materials tab at the top of MakeHuman and select the asset you want to change in the left pane. A list of textures will appear in the right pane. Choose your new texture. BINGO! There it is, ready to grace your toon. To make the change permanent, save your toon.
I hope this helps. Feel free to ask any questions to gain a better understanding of how this works. We are here to serve and always glad to do so.
Paddle faster. I hear charango music!