How to add a new Eye Material

Discussions about user contributed assets. This is a good place to request new assets, as well as requesting support on existing assets that have been downloaded from the user contributions repository.

Moderator: joepal

How to add a new Eye Material

Postby urbangardenmeister » Wed Jun 12, 2019 1:35 pm

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?
Posts: 1
Joined: Sun Jan 10, 2016 3:40 pm

Re: How to add a new Eye Material

Postby Aranuvir » Wed Jun 12, 2019 1:44 pm

Can you check the logs, if there is any error message? BTW, the version of the application you're using could be helpful.
Posts: 1060
Joined: Sun Oct 12, 2014 2:12 pm

Return to Assets, asset repositories and asset downloader

Who is online

Users browsing this forum: No registered users and 1 guest