diff options
Diffstat (limited to 'intern/cycles/app/cycles_precompute.cpp')
-rw-r--r-- | intern/cycles/app/cycles_precompute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/app/cycles_precompute.cpp b/intern/cycles/app/cycles_precompute.cpp index 6f9d9601b1e..b55246e9e91 100644 --- a/intern/cycles/app/cycles_precompute.cpp +++ b/intern/cycles/app/cycles_precompute.cpp @@ -213,7 +213,7 @@ static float precompute_ggx_dielectric_E(float rough, float mu, float eta, float * is an issue since there are changes in that range at higher roughnesses. * Therefore, the remapping is blended with the identity function for a compromise. */ - float F0 = fresnel_dielectric_cos(1.0f, eta); + float F0 = fresnel_dielectric_F0(eta); auto get_remap = [eta, F0](float x) { return mix(x, inverse_lerp(1.0f, F0, fresnel_dielectric_cos(x, eta)), 0.5f); }; |