Page 1 of 1

How to add a new Eye Material

PostPosted: Wed Jun 12, 2019 1:35 pm
by urbangardenmeister
I have been trying to add a new eye material in Makehuman.
I created the PNG file from one of the PB files from MH.
I edited thew MHMAT file to show the correct new name of the material file.
I created a thumb file from a png file.
I put the PNG, THUMKB, and MHMAT files in the data/eyes/material directory.

I reloaded the MH program. The new eyes did not show up. I tried to download a eye assets from the assets section put them in the data/eyes/material directory. Still no luck with them showing up in the program Materials section.

Here is a copy of the MHAT file:

name Customblue
ambientColor 0.11 0.11 0.11
diffuseColor 1.0 1.0 1.0
specularColor 1.0 1.0 1.0
shininess 1.0
emissiveColor 0.0 0.0 0.0
opacity 1.0
translucency 0.0
shadeless False
wireframe False
transparent True
alphaToCoverage True
backfaceCull True
depthless False
castShadows True
receiveShadows True
diffuseTexture customblue_eye.png
shader data/shaders/glsl/litsphere
shaderParam AdditiveShading 0.5
shaderParam litsphereTexture data/litspheres/skinmat_eye.png
shaderConfig ambientOcclusion True
shaderConfig normal False
shaderConfig bump False
shaderConfig displacement False
shaderConfig vertexColors False
shaderConfig spec False
shaderConfig transparency True
shaderConfig diffuse True

What am I doing wrong?

Re: How to add a new Eye Material

PostPosted: Wed Jun 12, 2019 1:44 pm
by Aranuvir
Can you check the logs, if there is any error message? BTW, the version of the application you're using could be helpful.