You can see that this does not look right. The content creator did not modify the .mhmat file to display properly. It is easy to fix, go to the assets directory using your favorite file browser:
makehuman\v1py3\data\clothes\bell_collar
we need to make a few simple changes to the $ASSET_NAME$.mhmat file. It is a fairly simple text file in UTF-8 Encoding. Using any text editor open the asset .mhmat file, for the bell_collar it is "bellcollar.mhmat". Notepad++ is an excelent editor alot of programmers use and is fairly popular. https://notepad-plus-plus.org/
The file will look similar to this, again I am using bell_collar.mhmat as an example and your asset may look slightly different:
as downloaded from https://makehumancommunity.org/node/2958
- Code: Select all
# MakeHuman Material definition
name bellcollarMaterial
// Color shading attributes
diffuseColor 0.64 0.64 0.64
specularColor 0.5 0.5 0.5
shininess 0
opacity 1
// Textures and properties
diffuseTexture bellcollar.png
// Shader programme
shader data/shaders/glsl/phong
// Configure built-in shader defines
shaderConfig diffuse false
shaderConfig bump false
shaderConfig normal false
shaderConfig displacement false
shaderConfig spec false
shaderConfig vertexColors false
We need to change the specularColor to a lower value, try 0.1 0.1 0.1 so the texture is not so bright, then change the "shaderConfig" value to "difuse true". and save the file. With bell_collar.mhmat your results should look like the following:
- Code: Select all
# MakeHuman Material definition
name bellcollarMaterial
// Color shading attributes
diffuseColor 0.64 0.64 0.64
specularColor 0.1 0.1 0.1
shininess 0
opacity 1
// Textures and properties
diffuseTexture bellcollar.png
// Shader programme
shader data/shaders/glsl/phong
// Configure built-in shader defines
shaderConfig diffuse true
shaderConfig bump false
shaderConfig normal false
shaderConfig displacement false
shaderConfig spec false
shaderConfig vertexColors false
Now we need to reload the asset in the Geometries/Cloths tab in MakeHuman, remove the asset from the model, then just put it back on. You should now see the following, almost exactly like the thumbnail:
Congradulations, the fix was quite simple. Try experimenting with some other values to see how they alter the rendered images on screen.
See http://www.makehumancommunity.org/wiki/ ... ial_format for a rundown of all available options.