Description:
This is an improved version of the built in "normalmap" shader which also takes the roughness map into consideration. Here's how to use it:
1) Put the two files into C:\Users\username\Documents\makehuman\v1py3\data\shaders\glsl\ or wherever your data folder is.
2) Find a material that uses both "roughnessmapTexture" and "metallicmapTexture".
3) Copy both lines (but keep the originals) and add "shaderParam " in front of the new lines.
4) Make sure that the material has these lines:
shininess 0.5
shader shaders/glsl/normalmap2
shaderParam litsphereTexture litspheres/skinmat_eye.png
shaderConfig normal True
shaderParam roughnessmapTexture blabla_roughness.png
shaderParam metallicmapTexture blabla_metallic.png
License:
CC0 - Creative Commons Zero