Finally fixed a but I've been fighting for a day, now the roughness map exports as it should in my blender PBRT exporter. 'Matte' and 'glass' materials are now working with the new code. Now I have it all solved and can update the rest of the shader export code. #b3d