diff --git a/docs/Filament.md.html b/docs/Filament.md.html index 167f967bd51c..4d7ad2e5a6c5 100644 --- a/docs/Filament.md.html +++ b/docs/Filament.md.html @@ -892,7 +892,7 @@ float Frc = (Dc * Vc) * Fc; // account for energy loss in the base layer - return color * ((Fd + Fr * (1.0 - Fc)) * (1.0 - Fc) + Frc); + return color * ((Fd + Fr) * (1.0 - Fc) + Frc); } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Listing [clearCoatBRDF]: Implementation of the clear coat BRDF in GLSL] @@ -2362,8 +2362,8 @@ float Fc = F_Schlick(0.04, 1.0, clearCoat_NoV) * clearCoat; // base layer attenuation for energy compensation iblDiffuse *= 1.0 - Fc; -iblSpecular *= sq(1.0 - Fc); -iblSpecular += specularIBL(r, clearCoatPerceptualRoughness) * Fc; +iblSpecular *= 1.0 - Fc; +iblSpecular += evaluateSpecularIBL(r, clearCoatPerceptualRoughness) * Fc; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Listing [clearCoatIBL]: GLSL implementation of the clear coat specular lobe for image-based lighting]