Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.12 KB

roughness.md

File metadata and controls

30 lines (20 loc) · 1.12 KB

roughness

  • Data type: float
  • What is it for: specifying the roughness of a material
  • Use when: the shininess setting doesn't work as expected
  • Implemented in MakeSkin: yes
  • Makes visible difference in blender: yes
  • Makes visible difference in makehuman: no (makehuman will use shininess instead)

The traditional MHMAT setting closest to roughness is shininess. However, the meaning of this is somewhat different between makehuman and blender.

The roughness key is intended as something between an alias and an alternative to shininess. It will follow the same logic as the roughness setting on the principled node.

If the roughness key is not available on import, the roughness value on the principled node will be set to 1.0 - shininess. If it is available, it will be used instead of the inversion of shininess.

When exported by makeskin, both shininess and roughness will be written to the MHMAT file, both based on the principled node's roughness socket.

The roughness key will be completely ignored by makehuman.

Example

To specify a rather rough material:

roughness 0.7