         normal,
         0.0 //Clearcoat factor is null
     );
-
     MaterialInfo clearCoatInfo = MaterialInfo(
         clearcoatRoughness,
         vec3(0.04), //fixed from specification //todo use variable from functions

        {
            lightColor = applyPointLight(light, materialInfo, view);
            #ifdef MATERIAL_CLEARCOAT
                clearcoatColor = applyPointLight(light, clearCoatInfo, view);
            #endif
        }

    vec3 diffuse = diffuseLight * materialInfo.diffuseColor;
    vec3 specular = specularLight * (materialInfo.specularColor * brdf.x + brdf.y);

    return diffuse + specular;
}
#endif //USE_IBL

