 #endif
 
 #ifdef MATERIAL_METALLICROUGHNESS
-    materialInfo = getMetallicRoughnessInfo(materialInfo, materialInfo.f0);
+    materialInfo = getMetallicRoughnessInfo(materialInfo);
 #endif
 
 #ifdef MATERIAL_SHEEN


MaterialInfo getIorInfo(MaterialInfo info)
{
    info.f0 = vec3(pow(( u_ior - 1.0f) /  (u_ior + 1.0f),2));
    
    return info;
}

    return info;
}

MaterialInfo getMetallicRoughnessInfo(MaterialInfo info)
{
    info.metallic = u_MetallicFactor;
    info.perceptualRoughness = u_RoughnessFactor;
